- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I tried compiling the following kernel with the last version of OpenCL SDK:
__kernel void pipe_producer (__write_only pipe float rng_pipe)
{
}
And got the following errors:
1:3:30: error: expected parameter declarator
1:3:43: error: expected ')'
1:3:29: note: to match this '('
Compilation failed
Can you tell why ?
Regards,
Z.V
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zvi,
Pipes are an OpenCL 2.0 feature. Please add the following flag to your build options: -cl-std=CL2.0
Using build options: -cl-std=CL2.0 OpenCL Intel(R) Graphics device was found! Device name: Intel(R) Iris(TM) Graphics 6100 Device version: OpenCL 2.0 Device vendor: Intel(R) Corporation Device profile: FULL_PROFILE fcl build 1 succeeded. fcl build 2 succeeded. bcl build succeeded. pipe_producer info: Maximum work-group size: 256 Compiler work-group size: (0, 0, 0) Local memory size: 0 Preferred multiple of work-group size: 32 Minimum amount of private memory: 0 Build succeeded!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zvi,
Pipes are an OpenCL 2.0 feature. Please add the following flag to your build options: -cl-std=CL2.0
Using build options: -cl-std=CL2.0 OpenCL Intel(R) Graphics device was found! Device name: Intel(R) Iris(TM) Graphics 6100 Device version: OpenCL 2.0 Device vendor: Intel(R) Corporation Device profile: FULL_PROFILE fcl build 1 succeeded. fcl build 2 succeeded. bcl build succeeded. pipe_producer info: Maximum work-group size: 256 Compiler work-group size: (0, 0, 0) Local memory size: 0 Preferred multiple of work-group size: 32 Minimum amount of private memory: 0 Build succeeded!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robert,
Thank you for your help.
Regards,
Z.V
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