From 8c47dcb6a4c14c7a50a8bd14922554564783df37 Mon Sep 17 00:00:00 2001 From: joamag Date: Sun, 19 Apr 2020 23:43:54 +0100 Subject: [PATCH] Changed to CPU based opencl --- src/pconvert/opencl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pconvert/opencl.c b/src/pconvert/opencl.c index fd725b5..500089c 100644 --- a/src/pconvert/opencl.c +++ b/src/pconvert/opencl.c @@ -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);