Explorar o código

Make examples/tag_example/tag_example.c work with OpenCL.

Cyril Roelandt %!s(int64=14) %!d(string=hai) anos
pai
achega
4a105e163f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/tag_example/tag_example.c

+ 1 - 1
examples/tag_example/tag_example.c

@@ -228,9 +228,9 @@ int main(int argc __attribute__((unused)) , char **argv __attribute__((unused)))
 
 	FPRINTF(stderr, "ITER: %u\n", nk);
 
-	cl.where = STARPU_CPU|STARPU_CUDA|STARPU_GORDON;
 	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