- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page