Browse Source

driver/opencl: typo

Nathalie Furmento 14 years ago
parent
commit
8e358b9e9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/drivers/opencl/driver_opencl.c

+ 1 - 1
src/drivers/opencl/driver_opencl.c

@@ -274,7 +274,7 @@ void _starpu_opencl_init(void)
         if (!init_done) {
                 cl_platform_id platform_id[STARPU_OPENCL_PLATFORM_MAX];
                 cl_uint nb_platforms;
-                cl_device_type device_type = CL_DEVICE_TYPE_GPU|CL_DEVICE_TYPE_ACCELERATORS;
+                cl_device_type device_type = CL_DEVICE_TYPE_GPU|CL_DEVICE_TYPE_ACCELERATOR;
                 cl_int err;
                 unsigned int i;