[clblas] 44/67: attempt to fix macos build

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Oct 27 08:02:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository clblas.

commit a08507d94284057fd245457dba45f33c37342d91
Author: Timmy <timmy.liu at amd.com>
Date:   Thu Sep 24 15:41:21 2015 -0500

    attempt to fix macos build
---
 src/library/blas/trtri/TrtriClKernels.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/library/blas/trtri/TrtriClKernels.h b/src/library/blas/trtri/TrtriClKernels.h
index 0e963c7..f388169 100644
--- a/src/library/blas/trtri/TrtriClKernels.h
+++ b/src/library/blas/trtri/TrtriClKernels.h
@@ -1,7 +1,11 @@
 
 #ifndef TRTRI_CL_KERNELS_H
 #define TRTRI_CL_KERNELS_H
+#if defined( __APPLE__ ) || defined ( __MACOS )
+#include <OpenCL/cl.h>
+#else
 #include "CL/cl.h"
+#endif
 
 /*mod 192 dtrsm*/
 static cl_kernel diag_dtrtri_upper_192_12_clKernel = NULL;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git



More information about the debian-science-commits mailing list