Browse Source

doc/chapters/basic-examples.texi: fix value for global

Nathalie Furmento 13 years ago
parent
commit
0be1afd239
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/chapters/basic-examples.texi

+ 1 - 1
doc/chapters/basic-examples.texi

@@ -459,7 +459,7 @@ void scal_opencl_func(void *buffers[], void *_args)
 @i{    if (err) STARPU_OPENCL_REPORT_ERROR(err);}
 
 @i{    @{}
-@i{        size_t global=1;}
+@i{        size_t global=n;}
 @i{        size_t local=1;}
 @i{        err = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, &global, &local, 0, NULL, &event);}
 @i{        if (err != CL_SUCCESS) STARPU_OPENCL_REPORT_ERROR(err);}