-
Notifications
You must be signed in to change notification settings - Fork 152
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
it support opencl1.1 device? #17
Comments
hmm this is an interesting question. we did not try in OpenCL1.1, the first step will be figuring out what has been new OpenCL1.2 vs 1.1, and removed the new functions of 1.2 |
in case it's useful, I know that clBLAS 2.4 worked ok in 1.1, back in the days when NVIDIA only supported 1.1 1.1 is quite old now, and recent Adrenos support not just 1.2 but 2.0 https://en.wikipedia.org/wiki/Adreno |
thanks for all , |
Sounds cool. Just out of curiosity, which 1.2 functions are being used? |
@hughperkins |
Sounds good. You have two approaches really:
To insert shims, what I would do is:
I would think you wouldnt want to directly modify the clew library, but create a new library (call it opencl-1.2-on-1.1 for example), which will stub out the clew methods, ie by overwriting the function pointers eg at https://github.com/hughperkins/clew/blob/master/src/clew.c#L112 ) |
@hughperkins |
I was able to compile OpenCL-caffe with clBLAS 2.4 (and openBLAS 0.2.17). But what really stopped me in my tracks was this:
and then this:
C'mon, using templates with OpenCL 1.x? |
:-D |
@psyhtest |
@naibaf7 Yes, I'm using your port now - and it's much more promising! 👍 I hope to provide you some contributions in due course. @zif520 I used to lead the OpenCL compiler team for the ARM Mali GPUs, so I'm always happy to see people using Mali. 👍 I do not, however, think you can get good performance with clBLAS. I plan to connect another BLAS library that can be tuned for embedded GPUs. |
which library is this? |
Thanks! |
So what version of OpenCL does this actually support? Does it support 1.2? |
i want to use zhe opencl caffe in android ,but only support opencl 1.1,can i use it but only chang little function?
The text was updated successfully, but these errors were encountered: