summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonie Salgado <roniesalg@gmail.com>2015-03-16 10:51:47 -0400
committerTom Stellard <thomas.stellard@amd.com>2015-03-16 10:51:47 -0400
commit8b64d2d484723b075bc7713f480cc962aa8871a7 (patch)
treed155af1adc29eff8593062a481454f1ddd1ec3e9
parenta1b214a70f34978196e22a876f1c053ae44a3d30 (diff)
get_global_id: Pass correct local work size to clSimpleEnqueueNDRangeKernelHEADmaster
-rw-r--r--get_global_id.c2
1 files changed, 1 insertions, 1 deletions
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;
}