mirror of https://github.com/BOINC/boinc.git
- client: fix bug in ATI GPU detection, caused zero RAM measurements
svn path=/trunk/boinc/; revision=24251
This commit is contained in:
parent
9d2ba11e09
commit
9a7d25966c
|
@ -6299,7 +6299,7 @@ David 21 Sept 2011
|
|||
- deprecate/undeprecate versions of the app.
|
||||
- abort jobs for that app
|
||||
|
||||
You can also designate a user a manage for the project.
|
||||
You can also designate a user as manager for the project.
|
||||
They can then edit permissions and quotas,
|
||||
as well as performing the app-specific functions for all apps.
|
||||
|
||||
|
@ -6328,3 +6328,9 @@ David 21 Sept 2011
|
|||
submit.php
|
||||
py/Boinc/
|
||||
setup_project.py
|
||||
|
||||
David 21 Sept 2011
|
||||
- client: fix bug in ATI GPU detection, caused zero RAM measurements
|
||||
|
||||
client/
|
||||
coproc_detect.cpp
|
||||
|
|
|
@ -1368,12 +1368,11 @@ void COPROC_ATI::get(
|
|||
cc.atirt_detected = atirt_detected;
|
||||
cc.device_num = i;
|
||||
cc.set_peak_flops();
|
||||
cc.get_available_ram();
|
||||
gpus.push_back(cc);
|
||||
}
|
||||
|
||||
get_available_ram();
|
||||
|
||||
// shut down, otherwise Lenovo won't be able to switch to low-power GPU
|
||||
// shut down CAL, otherwise Lenovo won't be able to switch to low-power GPU
|
||||
//
|
||||
retval = (*__calShutdown)();
|
||||
|
||||
|
@ -1382,6 +1381,8 @@ void COPROC_ATI::get(
|
|||
return;
|
||||
}
|
||||
|
||||
// find the most capable non-ignored instance
|
||||
//
|
||||
bool first = true;
|
||||
unsigned int i;
|
||||
for (i=0; i<gpus.size(); i++) {
|
||||
|
@ -1394,6 +1395,9 @@ void COPROC_ATI::get(
|
|||
}
|
||||
}
|
||||
|
||||
// see which other instances are equivalent,
|
||||
// and set the "count" and "device_nums" fields
|
||||
//
|
||||
count = 0;
|
||||
for (i=0; i<gpus.size(); i++) {
|
||||
char buf2[256];
|
||||
|
|
Loading…
Reference in New Issue