Community
cancel
Showing results for 
Search instead for 
Did you mean: 
whan01
Beginner
300 Views

Does HARPv2 not support Opencl v2.0 NDRange Kernel?

I tried to enqueue an NDRange kernel on HARPv2. However it returns -59 (CL_INVALID_OPERATION) when I execute the host program and the code arrives at "enqueueNDRangeKernel" (in device code I didn't give any attribute to kernel so the maximum work group size is 16x16). I use SVM instead of buffers to parse data between CPU and FPGA.

I read about some example code on HARPv2 and find all of what use SVM declares the attribute of kernel to be "task" so it is a single-item mode. Does this mean that HARPv2 doesn't support NDRange Kernel with local size > 1?

0 Kudos
5 Replies
66 Views

Hi,

 

May I request the design for investigation?

 

Thanks.

whan01
Beginner
66 Views

Hi,

 

Here's my design. I just debug one kernel so I commented out all irrelevant content.

I have found one feasible design, which move the declareation of variable of kernel function with "__local" quanlifier from list to inside the function body. I don't know if that is the problem that the kernel cannot be implementd.

66 Views

Hi,

 

May I confirm the software edition and version?

 

Thanks

whan01
Beginner
66 Views

All according to the guidance in this pdf.

66 Views

Hi,

 

I cannot reproduce the error mentioned. May I know the software version and steps to reproduce the error?

 

Thanks.

Reply