File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77#if defined(WIN32 ) || defined(_WIN32 ) || defined(WIN64 ) || defined(_WIN64 )
88static const char libname [] = "clBLAS.dll" ;
99#else /* Unix */
10+ #ifdef __APPLE__
11+ static const char libname [] = "libclBLAS.dylib" ;
12+ #else
1013static const char libname [] = "libclBLAS.so" ;
1114#endif
15+ #endif
1216
1317#define DEF_PROC (ret , name , args ) t##name *name
1418
Original file line number Diff line number Diff line change 55#include "gpuarray/error.h"
66
77#if defined(WIN32 ) || defined(_WIN32 ) || defined(WIN64 ) || defined(_WIN64 )
8- static const char libname [] = "clBLAST .dll" ;
8+ static const char libname [] = "clblast .dll" ;
99#else /* Unix */
10- static const char libname [] = "libclBLAST.so" ;
10+ #ifdef __APPLE__
11+ static const char libname [] = "libclblast.dylib" ;
12+ #else
13+ static const char libname [] = "libclblast.so" ;
14+ #endif
1115#endif
1216
1317#define DEF_PROC (ret , name , args ) t##name *name
Original file line number Diff line number Diff line change 77#if defined(WIN32 ) || defined(_WIN32 ) || defined(WIN64 ) || defined(_WIN64 )
88static char libname [] = "OpenCL.dll" ;
99#else /* Unix */
10+ #ifdef __APPLE__
11+ static char libname [] = "OpenCL.framework/OpenCL" ;
12+ #else
1013static char libname [] = "libOpenCL.so" ;
1114#endif
15+ #endif
1216
1317#define DEF_PROC (ret , name , args ) t##name *name
1418
You can’t perform that action at this time.
0 commit comments