whan01
New Contributor
6 years agoRunning HARP example design returns error value -54.
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?
Is there any reqd_work_group_size or max_work_group_size used in the kernel?