Explorar o código

examples/binary/binary.c: set async flags for OpenCL implementation

Nathalie Furmento %!s(int64=11) %!d(string=hai) anos
pai
achega
22a2b51d78
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      examples/binary/binary.c

+ 1 - 0
examples/binary/binary.c

@@ -29,6 +29,7 @@ struct starpu_codelet cl =
 {
 #ifdef STARPU_USE_OPENCL
 	.opencl_funcs = {opencl_codelet, NULL},
+	.opencl_flags = {STARPU_OPENCL_ASYNC},
 #endif
 	.nbuffers = 1,
 	.modes = {STARPU_RW}