[arrayfire] 02/26: Function return type fix for blas
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Jul 7 13:59:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository arrayfire.
commit b20e65a92dbcbf394694f83254e00e3e8f14a386
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date: Sat Jun 13 13:53:24 2015 -0400
Function return type fix for blas
---
src/backend/cuda/blas.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/cuda/blas.cpp b/src/backend/cuda/blas.cpp
index 9ed9cdf..8b504f3 100644
--- a/src/backend/cuda/blas.cpp
+++ b/src/backend/cuda/blas.cpp
@@ -89,7 +89,7 @@ typename FUNC##_func_def_t<T>::FUNC##_func_def \
FUNC##_func();
#define BLAS_FUNC( FUNC, TYPE, PREFIX ) \
-template<> typename FUNC##_func_def_t<TYPE>::FUNC##_func_def FUNC##_func<TYPE>() { return &cublas##PREFIX##FUNC; }
+template<> typename FUNC##_func_def_t<TYPE>::FUNC##_func_def FUNC##_func<TYPE>() { return (FUNC##_func_def_t<TYPE>::FUNC##_func_def)&cublas##PREFIX##FUNC; }
BLAS_FUNC_DEF(gemm)
BLAS_FUNC(gemm, float, S)
--
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