<<grid,block , x >> problems
Hi
I have a CUDA program running like this:
modSerial<<grid,block,threads>>(x,y,z);
How can i translate this to OpenCL :
clEnqueueNDRangeKernel(cmd_queue, kernel[0], 1, NULL, &global_work_size,NULL, 0, NULL, NULL);
Is it correct to fill in like this?
clEnqueueNDRangeKernel(cmd_queue, kernel[0], grid, NULL, block,threads, 0, NULL, NULL);
I hope someone can give me advice