Altera_Forum
Honored Contributor
12 years ago"Invalid global offset" error
Hi,
Is at actually possible to use offsets when enqueuing a kernel with Altera? I'm currently getting a "Invalid Global Offset" error when I try and specify an offset. eg size_t global_wi [2] = {100, 100}; size_t local_wi [2] = {100, 100}; size_t global_offset [2] = {1, 1}; err = clEnqueueNDRangeKernel(queue, kernel, 2, global_offset, global_wi, local_wi, 0, NULL, NULL); With global_offset replaced with NULL, everything works correctly. Many thanks