Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
16 Views

Does Intel command line compiler for OpenCL C understand pragma directieves?

I'm trying to use "#pragma unroll" in my OpenCl code. But don't see any effect while compiling OpenCl to SPIR using Intel command line compiler. In fact compiler silently eating any gibberish after #pragma.

0 Kudos
1 Reply
Highlighted
16 Views

As far as I can tell from my experiments, you're correct that #pragma unroll is ignored (at least for the GPU compiler). According to the spec, only a few pragmas are required to be recognized.  

0 Kudos