Skip to content

Commit

Permalink
Changed to CPU based opencl
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 19, 2020
1 parent 2ba2b48 commit 8c47dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pconvert/opencl.c
Expand Up @@ -99,7 +99,7 @@ ERROR_T blend_kernel(
int rem;
int error;

error = clGetDeviceIDs(NULL, CL_DEVICE_TYPE_GPU, 1, &device_id, NULL);
error = clGetDeviceIDs(NULL, CL_DEVICE_TYPE_CPU, 1, &device_id, NULL);
if(error != CL_SUCCESS) { RAISE_F("[blend_kernel] Failed to create a device group: %d", error); }

context = clCreateContext(0, 1, &device_id, NULL, NULL, &error);
Expand Down

0 comments on commit 8c47dcb

Please sign in to comment.