- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I need to give an alias to the pointer kernel arguments of my kernels as part of a solution I am developing. However, although it is supported in C the compiler gives an error:
error: parameter may not be qualified with an address space
The signature of the kernel is something like:
typedef void* p_void;
__kernel void( __global p_void A)
Isn't this supported by OpenCL? Is there anything I can do?
Thank you.
- Tags:
- OpenCL™
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you may find the answer in https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/archives/aocl-best-practices-guide-19-1.pdf
Page 104
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