[arrayfire] 165/284: Fix blas header types in cpu
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Feb 7 18:59:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/experimental
in repository arrayfire.
commit f9819f78c191aea10331e42ec361836f2a1e3c57
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date: Thu Jan 7 16:53:55 2016 -0500
Fix blas header types in cpu
---
src/backend/cpu/blas.hpp | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/backend/cpu/blas.hpp b/src/backend/cpu/blas.hpp
index 934a2c6..0548433 100644
--- a/src/backend/cpu/blas.hpp
+++ b/src/backend/cpu/blas.hpp
@@ -10,6 +10,7 @@
#include <af/defines.h>
#include <af/blas.h>
#include <Array.hpp>
+#include <types.hpp>
#ifdef __APPLE__
#include <Accelerate/Accelerate.h>
@@ -45,10 +46,4 @@ template<typename T>
Array<T> dot(const Array<T> &lhs, const Array<T> &rhs,
af_mat_prop optLhs, af_mat_prop optRhs);
-typedef std::complex<float> cfloat;
-typedef std::complex<double> cdouble;
-
-template<typename T> struct is_complex { static const bool value = false; };
-template<> struct is_complex<cfloat> { static const bool value = true; };
-template<> struct is_complex<cdouble> { static const bool value = true; };
}
--
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