I would like to compile the correctness tests for clBlas on an m2 Mac. The error I am getting is this:
In file included from /Users/ocl/data/OpenCL/clBLAS-master/src/tests/correctness/blas-lapack.c:28:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/Accelerate.framework/Headers/../Frameworks/vecLib.framework/Headers/vecLib.h:62:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/vecLib.framework/Headers/fortran_blas.h:27:5: error: conflicting types for 'icamax_'
int icamax_(int *n, void *cx, int *incx)
^
/Users/ocl/data/OpenCL/clBLAS-master/src/tests/correctness/blas-lapack.h:1213:5: note: previous declaration is here
int icamax_(int *n, complex *x, int *incx);
^
Is there workaround for this? The clBlas itself can be compiled and also brew provides an excellent tap for it but would nice to have the tests as well.
Hi,
May I recommend putting more energy into CLBLAST since CLBLAS has not been maintained for a long time?
https://github.com/CNugteren/CLBlast
Best wishes,
Jinchuan
Hi,
I would like to compile the correctness tests for clBlas on an m2 Mac. The error I am getting is this:
Is there workaround for this? The clBlas itself can be compiled and also brew provides an excellent tap for it but would nice to have the tests as well.
Thanks!!!