I modify the host code of example design.
The original part in launching the first kernel is
status = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, gsize, lsize, 0, NULL, NULL)
I modify this part to
// define NDRange Size
size_t gsize[1]={(size_t) 10};
size_t lsize[1] = {(size_t) 2};
status = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, gsize, lsize, 0, NULL, NULL)
Then I run the code it returns error code -54. Why can't I increase the 1-d lsize to 2?
1 解決方案
連結已複製
6 回應
The software is quartus 16.0.2 pro with all update patches installed. My OpenCL is v2.0.
