compiler construction - Is possible to compile OpenCL code for all current video cards? -


i need distribute program, use opencl code without opencl sources. need compile binary , load program binary. simple, each video card compile different binary self. how can avoid this, , compile source code different videocards, whitout having videocards. maybe compiler exist, can set spesific video card , binary code it? thanks!

spir designed http://www.khronos.org/registry/spir/

at least amd cards support it. cannot use in general right now.

right there no other way providing kernels text program if want distribute consumers. wouldn't worry kernels being visible. without opencl api calls , documentation useless. takes more time reverse-engineer them same scratch. it's opengl shaders in games in raw text format.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -