OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

How to protect OpenCL kernel code?

QQ_Q_
Beginner
189 Views

    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
189 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.

Reply