[arrayfire] 358/408: SVD using gesdd on Apple
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:12:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.
commit e1bee7a7fc34792d1aeb7e9c90520470e6f42eed
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date: Tue Aug 25 22:23:24 2015 -0400
SVD using gesdd on Apple
---
src/backend/cpu/svd.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/cpu/svd.cpp b/src/backend/cpu/svd.cpp
index c7124bd..461b901 100644
--- a/src/backend/cpu/svd.cpp
+++ b/src/backend/cpu/svd.cpp
@@ -27,7 +27,7 @@ namespace cpu
template<> svd_func_def<T, Tr> svd_func<T, Tr>() \
{ return & LAPACK_NAME(PREFIX##FUNC); }
-#ifdef USE_MKL
+#if defined(USE_MKL) || defined(__APPLE__)
template<typename T, typename Tr>
using svd_func_def = int (*)(ORDER_TYPE,
@@ -71,7 +71,7 @@ namespace cpu
int M = iDims[0];
int N = iDims[1];
-#ifdef USE_MKL
+#if defined(USE_MKL) || defined(__APPLE__)
svd_func<T, Tr>()(AF_LAPACK_COL_MAJOR, 'A', M, N, in.get(), in.strides()[1],
s.get(), u.get(), u.strides()[1], vt.get(), vt.strides()[1]);
#else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list