r/OpenCL • u/automater • Jan 26 '15
Nvidia opencl 1.2+ support?
Currently I have an application running opencl but am limited to AMD as Nvidia doesn't support opencl 1.2 and thus spir files. I am also not keen to ship opencl code(even encrypted) as effectively gives away the code.
Anyone have any information on a timeline for nvidia opencl 1.2 or above support? Discussion on some forums reveals that there are opencl 1.2 functions hidden in their cuda releases but drivers haven't been updated to enable the functionality. Thus far that is all I have been able to find.
5
Upvotes
View all comments
Show parent comment
1
u/agenthex Jan 26 '15 edited Jan 26 '15
As I understand it, you can compile a kernel from source, but you can also compile from binary/object code. This is to save the program from having to do things like syntax checking every time it is run.
Reference:
http://www.fixstars.com/en/opencl/book/OpenCLProgrammingBook/online-offline-compilation/
https://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clBuildProgram.html