- OpenCL API: fix logic error

svn path=/trunk/boinc/; revision=24565
This commit is contained in:
David Anderson 2011-11-09 21:04:01 +00:00
parent 2e526a0956
commit 083040ba63
2 changed files with 7 additions and 1 deletions

View File

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

View File

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