You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding Q1, compiling the OpenCL library yourself seems unusual, I would expect that you simply get one from your vendor or find one on your device and link against that one. In any case, something like clGetPlatformsIDs not working isn't a CLBlast problem, so I can't help you any further with that. You would have to look at your vendors manual for OpenCL.
Regarding Q2, I think linking against either a dynamic or static version of CLBlast should work. Just go with your preference or whatever is easiest.
Target
I want to build CLBlast for android app with JNI.
Question
I am cross-compiling clblast for android with the following scripts.
libOpenCL.a
orlibOpenCL.so
for CLBlast?Update 2023/10/25
-DOPENCL_LIBRARIES
, but only shared libraries work.libOpenCL.a
andlibclblast.a
in android project.libOpenCL.a
rather thanlibOpenCL.so
clGetPlatformsIDs
in JNI code returns -1001!Any suggestions?
The text was updated successfully, but these errors were encountered: