Progress on early subsumption
Signed-off-by: gothictomato <gothictomato@pm.me>
This commit is contained in:
@@ -176,6 +176,11 @@ i32 gpusolve(cnf* c) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
size_t maxworkgrpu = 0;
|
||||
res = clGetKernelWorkGroupInfo(kernel, deviceid, CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), &maxworkgrpu, NULL);
|
||||
|
||||
printf("Max work group size: %lu\n", maxworkgrpu);
|
||||
|
||||
res = clSetKernelArg(kernel, 0, sizeof(cl_mem), (void*) &gpuheader);
|
||||
res = clSetKernelArg(kernel, 1, sizeof(cl_mem), (void*) &gpulvars);
|
||||
res = clSetKernelArg(kernel, 2, sizeof(cl_mem), (void*) &gpuvariables);
|
||||
|
||||
Reference in New Issue
Block a user