Community
cancel
Showing results for 
Search instead for 
Did you mean: 
QQ_Q_
Beginner
50 Views

How to protect OpenCL kernel code?

    I use OpenCL for  integrated GPU.  Everything is ready, except how to protect kernel code. I know this is an old topic. 

    I have tried to translate the kernel code to SPIR code. but anybody can get II code through SPIR , using llvm-dsi.  Because integrated GPUs  only support OpenCL1.2, GPU can't use SPIR-V code. So is there a better way to protect kernel code?

0 Kudos
1 Reply
Jeffrey_M_Intel1
Employee
50 Views

This article has more details on the options available today:

https://software.intel.com/en-us/articles/using-spir-for-fun-and-profit-with-intel-opencl-code-build...

As far as I know it lists all of them.

I suspect what you're looking for is SPIR-V.  It's an improvement on SPIR but that is more of an answer to look forward to in the future than something you could switch to today.