Application Acceleration With FPGAs
Programmable Acceleration Cards (PACs), DCP, DLA, Software Stack, and Reference Designs
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

'Typedefing' pointers

GRodr25
Beginner
260 Views

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.

0 Kudos
1 Reply
Kenny_Tan
Moderator
215 Views
Reply