mirror of https://github.com/BOINC/boinc.git
- OpenCL API: fix logic error
svn path=/trunk/boinc/; revision=24565
This commit is contained in:
parent
2e526a0956
commit
083040ba63
|
@ -56,7 +56,7 @@ int boinc_get_opencl_ids_aux(
|
|||
MAX_COPROC_INSTANCES, devices, &num_devices
|
||||
);
|
||||
|
||||
if (num_devices > (cl_uint)(device_num + 1)) continue;
|
||||
if (device_num >= (int)num_devices) continue;
|
||||
|
||||
cl_device_id device_id = devices[device_num];
|
||||
|
||||
|
|
|
@ -8316,3 +8316,9 @@ Jeff 9 Nov 2011
|
|||
sched_assign.cpp
|
||||
lib/
|
||||
parse.cpp
|
||||
|
||||
David 9 Nov 2011
|
||||
- OpenCL API: fix logic error
|
||||
|
||||
api/
|
||||
boinc_opencl.cpp
|
||||
|
|
Loading…
Reference in New Issue