diff --git a/get_global_id.c b/get_global_id.c index e06349a..0102c0b 100644 --- a/get_global_id.c +++ b/get_global_id.c @@ -34,7 +34,7 @@ int main(int argc, char ** argv) if(!clSimpleEnqueueNDRangeKernel(context.command_queue, context.kernel, - 1, &global_work_size, &global_work_size)) { + 1, &global_work_size, &local_work_size)) { return EXIT_FAILURE; }