Browse Source

Make examples/tag_example/tag_example2 work with OpenCL.

Cyril Roelandt 13 years ago
parent
commit
298d68f6fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/tag_example/tag_example2.c

+ 1 - 1
examples/tag_example/tag_example2.c

@@ -134,10 +134,10 @@ int main(int argc __attribute__((unused)) , char **argv __attribute__((unused)))
 
 	cl.cpu_funcs[0] = cpu_codelet;
 	cl.cuda_funcs[0] = cpu_codelet;
+	cl.opencl_funcs[0] = cpu_codelet;
 #ifdef STARPU_USE_GORDON
 	cl.gordon_func = gordon_null_kernel;
 #endif
-	cl.where = STARPU_CPU|STARPU_CUDA|STARPU_GORDON;
 	cl.nbuffers = 0;
 
 	FPRINTF(stderr, "ITER : %u\n", nk);