mirror of https://github.com/BOINC/boinc.git
- scheduler: apparently some hosts send GPU parameters that cause
the peak_flops to be negative (probably #processors = -1). This leads to negative credit. Fix: if peak flops is negative, set it to 50 GFLOPS - web: fix email validate page svn path=/trunk/boinc/; revision=23932
This commit is contained in:
parent
7c14104e20
commit
2d85ed6ed3
|
@ -4614,3 +4614,15 @@ David 3 Aug 2011
|
|||
samples/vboxwrapper/
|
||||
vbox.cpp,h
|
||||
vboxwrapper.cpp
|
||||
|
||||
David 4 Aug 2011
|
||||
- scheduler: apparently some hosts send GPU parameters that cause
|
||||
the peak_flops to be negative (probably #processors = -1).
|
||||
This leads to negative credit.
|
||||
Fix: if peak flops is negative, set it to 50 GFLOPS
|
||||
- web: fix email validate page
|
||||
|
||||
lib/
|
||||
coproc.h
|
||||
html/user/
|
||||
validate_email_addr.php
|
||||
|
|
|
@ -20,8 +20,6 @@ require_once("../inc/boinc_db.inc");
|
|||
require_once("../inc/util.inc");
|
||||
require_once("../inc/email.inc");
|
||||
|
||||
check_get_args(array("x", "u"));
|
||||
|
||||
function send_validate_email() {
|
||||
global $master_url;
|
||||
$user = get_logged_in_user();
|
||||
|
|
|
@ -258,7 +258,7 @@ struct COPROC_NVIDIA : public COPROC {
|
|||
//
|
||||
int cores_per_proc = (prop.major>=2)?32:8;
|
||||
double x = (1000.*prop.clockRate) * prop.multiProcessorCount * cores_per_proc * 2.;
|
||||
peak_flops = x?x:5e10;
|
||||
peak_flops = (x>0)?x:5e10;
|
||||
}
|
||||
|
||||
bool check_running_graphics_app();
|
||||
|
@ -294,7 +294,7 @@ struct COPROC_ATI : public COPROC {
|
|||
void set_peak_flops() {
|
||||
double x = attribs.numberOfSIMD * attribs.wavefrontSize * 2.5 * attribs.engineClock * 1.e6;
|
||||
// clock is in MHz
|
||||
peak_flops = x?x:5e10;
|
||||
peak_flops = (x>0)?x:5e10;
|
||||
}
|
||||
void fake(double, int);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue