Commit most recent local copy

This commit is contained in:
gothictomato
2025-04-05 22:32:13 -04:00
parent 53a580d0ec
commit 3f54ad3f6e
7 changed files with 5021 additions and 6 deletions

View File

@@ -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