Forum Discussion
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?
5 Replies
- KhaiChein_Y_Intel
Regular Contributor
Hi,
May I request the design for investigation?
Thanks.
- whan01
New Contributor
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.
- KhaiChein_Y_Intel
Regular Contributor
Hi,
May I confirm the software edition and version?
Thanks
- whan01
New Contributor
- KhaiChein_Y_Intel
Regular Contributor
Hi,
I cannot reproduce the error mentioned. May I know the software version and steps to reproduce the error?
Thanks.