- scheduler: don't send "update GPU driver" messages if

the client didn't report a driver version #


svn path=/trunk/boinc/; revision=25232
This commit is contained in:
David Anderson 2012-02-09 20:34:29 +00:00
parent fe347aa1e3
commit 64608800cb
4 changed files with 17 additions and 5 deletions

View File

@ -1559,3 +1559,11 @@ David 9 Feb 2012
client/
cs_files.cpp
David 9 Feb 2012
- scheduler: don't send "update GPU driver" messages if
the client didn't report a driver version #
sched/
sched_customize.cpp
file_upload_handler.cpp

View File

@ -287,7 +287,7 @@ $math = array(
array(
"SAT@home",
"http://sat.isa.ru/pdsat/",
"Institute for Systems Analysis, Russian Academy of Sciences",
"Institute for Systems Analysis and Institute for System Dynamics and Control Theory, Russian Academy of Science",
"Computer Science",
"Solve hard and practically important problems (discrete functions inversion problems, discrete optimization, bioinformatics, etc.) that can be effectively reduced to Boolean satisfiability problem.",
"sat_logo.png"

View File

@ -304,12 +304,12 @@ int handle_file_upload(FILE* in, R_RSA_PUBLIC_KEY& key) {
"<name>%s</name><max_nbytes>%.0f</max_nbytes>",
name, max_nbytes
);
retval = verify_string(
retval = check_string_signature(
signed_xml, xml_signature, key, is_valid
);
if (retval || !is_valid) {
log_messages.printf(MSG_CRITICAL,
"verify_string() [%s] [%s] retval %d, is_valid = %d\n",
"check_string_signature() [%s] [%s] retval %d, is_valid = %d\n",
signed_xml, xml_signature,
retval, is_valid
);

View File

@ -152,7 +152,9 @@ static bool ati_check(COPROC_ATI& c, HOST_USAGE& hu,
double cpu_frac, // fraction of FLOPS performed by CPU
double flops_scale
) {
if (c.version_num) {
ati_requirements.update(min_driver_version, min_ram);
}
if (need_amd_libs) {
if (!c.amdrt_detected) {
@ -276,7 +278,9 @@ static bool cuda_check(COPROC_NVIDIA& c, HOST_USAGE& hu,
if (cc < min_cc) return false;
if (max_cc && cc >= max_cc) return false;
if (c.display_driver_version) {
cuda_requirements.update(min_driver_version, min_ram);
}
// Old BOINC clients report display driver version;
// newer ones report CUDA RT version.