Переглянути джерело

doc/tutorial: field where of struct starpu_codelet is optional, no longer set it

Nathalie Furmento 12 роки тому
батько
коміт
29ce834a54
2 змінених файлів з 0 додано та 2 видалено
  1. 0 1
      doc/tutorial/hello_world.c
  2. 0 1
      doc/tutorial/vector_scal.c

+ 0 - 1
doc/tutorial/hello_world.c

@@ -32,7 +32,6 @@ void cpu_func(void *buffers[], void *cl_arg)
 
 struct starpu_codelet cl =
 {
-    .where = STARPU_CPU,
     .cpu_funcs = {cpu_func, NULL},
     .nbuffers = 0
 };

+ 0 - 1
doc/tutorial/vector_scal.c

@@ -31,7 +31,6 @@ extern void scal_cuda_func(void *buffers[], void *_args);
 extern void scal_opencl_func(void *buffers[], void *_args);
 
 static struct starpu_codelet cl = {
-    .where = STARPU_CPU | STARPU_CUDA | STARPU_OPENCL,
     /* CPU implementation of the codelet */
     .cpu_funcs = {scal_cpu_func, NULL},
 #ifdef STARPU_USE_CUDA