Commit most recent local copy
This commit is contained in:
@@ -58,8 +58,8 @@ gpusolver* initSolver() {
|
||||
// TODO: Cleanup
|
||||
return NULL;
|
||||
}
|
||||
|
||||
o->commqueue = clCreateCommandQueueWithProperties(o->ctx, o->deviceid, 0, &res);
|
||||
cl_queue_properties properties[] = { CL_QUEUE_PROPERTIES, CL_QUEUE_PROFILING_ENABLE, 0 };
|
||||
o->commqueue = clCreateCommandQueueWithProperties(o->ctx, o->deviceid, properties, &res);
|
||||
if (res != CL_SUCCESS) {
|
||||
printf("Failed to create OpenCL command queue\n");
|
||||
// TODO: Cleanup
|
||||
|
||||
Reference in New Issue
Block a user