Explorar el Código

revert wrong commit (#3096)

Nathalie Furmento hace 14 años
padre
commit
bf710e2b0b
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      mpi/starpu_mpi_insert_task.c
  2. 1 1
      src/drivers/opencl/driver_opencl.c

+ 1 - 1
mpi/starpu_mpi_insert_task.c

@@ -25,7 +25,7 @@
 #include <common/htable32.h>
 #include <util/starpu_insert_task_utils.h>
 
-#define STARPU_MPI_VERBOSE	1
+//#define STARPU_MPI_VERBOSE	1
 #include <starpu_mpi_private.h>
 
 /* Whether we are allowed to keep copies of remote data. Does not work

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

@@ -291,7 +291,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_CPU;//CL_DEVICE_TYPE_GPU|CL_DEVICE_TYPE_ACCELERATOR;
+                cl_device_type device_type = CL_DEVICE_TYPE_GPU|CL_DEVICE_TYPE_ACCELERATOR;
                 cl_int err;
                 unsigned int i;