mirror of https://github.com/BOINC/boinc.git
client: Fix bug in setting opencl_device_index
svn path=/trunk/boinc/; revision=25216
This commit is contained in:
parent
3a4e85bff3
commit
1b41c17cb9
|
@ -1455,3 +1455,9 @@ David 7 Feb 2012
|
|||
client_state.cpp
|
||||
client_types.cpp,h
|
||||
cs_apps.cpp
|
||||
|
||||
Charlie 7 Feb 2012
|
||||
- client: Fix bug in setting opencl_device_index.
|
||||
|
||||
client/
|
||||
coproc_detect.cpp
|
||||
|
|
|
@ -374,7 +374,7 @@ strcpy(prop.opencl_driver_version, "CLH 1.0");
|
|||
(strstr(prop.vendor, "Advanced Micro Devices, Inc."))
|
||||
) {
|
||||
prop.device_num = (int)(ati_opencls.size());
|
||||
prop.opencl_device_index = prop.device_num;
|
||||
prop.opencl_device_index = device_index;
|
||||
|
||||
#ifdef __APPLE__
|
||||
// Work around a bug in OpenCL which returns only
|
||||
|
|
Loading…
Reference in New Issue