mirror of https://github.com/BOINC/boinc.git
- scheduler: fix "prefer_primary_platform" logic (I hope).
svn path=/trunk/boinc/; revision=22332
This commit is contained in:
parent
97528f873a
commit
18b5b46aab
|
@ -6438,3 +6438,9 @@ Rytis 9 Sept 2010
|
||||||
|
|
||||||
html/user/
|
html/user/
|
||||||
host_app_versions.php
|
host_app_versions.php
|
||||||
|
|
||||||
|
David 9 Sept 2010
|
||||||
|
- scheduler: fix "prefer_primary_platform" logic (I hope).
|
||||||
|
|
||||||
|
sched/
|
||||||
|
sched_version.cpp
|
||||||
|
|
|
@ -581,13 +581,6 @@ BEST_APP_VERSION* get_app_version(
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// at this point we know the version is feasible,
|
|
||||||
// so if config.prefer_primary_platform is set
|
|
||||||
// we won't look any further.
|
|
||||||
// (the version may still be ruled out by job limits etc.)
|
|
||||||
//
|
|
||||||
found_feasible_version = true;
|
|
||||||
|
|
||||||
if (reliable_only && !app_version_is_reliable(av.id)) {
|
if (reliable_only && !app_version_is_reliable(av.id)) {
|
||||||
if (config.debug_version_select) {
|
if (config.debug_version_select) {
|
||||||
log_messages.printf(MSG_NORMAL,
|
log_messages.printf(MSG_NORMAL,
|
||||||
|
@ -618,6 +611,12 @@ BEST_APP_VERSION* get_app_version(
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// at this point we know the version is feasible,
|
||||||
|
// so if config.prefer_primary_platform is set
|
||||||
|
// we won't look any further.
|
||||||
|
//
|
||||||
|
found_feasible_version = true;
|
||||||
|
|
||||||
estimate_flops(host_usage, av);
|
estimate_flops(host_usage, av);
|
||||||
|
|
||||||
// pick the fastest version
|
// pick the fastest version
|
||||||
|
|
Loading…
Reference in New Issue