Explorar o código

Fix typo in starpu_driver_init().

Cyril Roelandt %!s(int64=13) %!d(string=hai) anos
pai
achega
574e90baa5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/workers.c

+ 1 - 1
src/core/workers.c

@@ -1024,7 +1024,7 @@ starpu_driver_init(struct starpu_driver *d)
 #endif
 #ifdef STARPU_USE_OPENCL
 	case STARPU_OPENCL_WORKER:
-		return _starpu_opencl_driver_deinit(d);
+		return _starpu_opencl_driver_init(d);
 #endif
 	case STARPU_CPU_WORKER:    /* Not supported yet */
 	case STARPU_GORDON_WORKER: /* Not supported yet */