Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctness test fails to compile on m2 Mac #358

Open
Szirenke opened this issue Jun 26, 2023 · 1 comment
Open

Correctness test fails to compile on m2 Mac #358

Szirenke opened this issue Jun 26, 2023 · 1 comment

Comments

@Szirenke
Copy link

Hi,

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.

Thanks!!!

@tangjinchuan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants