Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21147 Discussions

Does HARPv2 not support Opencl v2.0 NDRange Kernel?

whan01
Beginner
1,319 Views

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
KhaiChein_Y_Intel
1,085 Views

Hi,

 

May I request the design for investigation?

 

Thanks.

0 Kudos
whan01
Beginner
1,085 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.

0 Kudos
KhaiChein_Y_Intel
1,085 Views

Hi,

 

May I confirm the software edition and version?

 

Thanks

0 Kudos
whan01
Beginner
1,085 Views

All according to the guidance in this pdf.

0 Kudos
KhaiChein_Y_Intel
1,085 Views

Hi,

 

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

 

Thanks.

0 Kudos
Reply