mirror of https://github.com/BOINC/boinc.git
- 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:
parent
fe347aa1e3
commit
64608800cb
|
@ -1559,3 +1559,11 @@ David 9 Feb 2012
|
||||||
|
|
||||||
client/
|
client/
|
||||||
cs_files.cpp
|
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
|
||||||
|
|
|
@ -287,7 +287,7 @@ $math = array(
|
||||||
array(
|
array(
|
||||||
"SAT@home",
|
"SAT@home",
|
||||||
"http://sat.isa.ru/pdsat/",
|
"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",
|
"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.",
|
"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"
|
"sat_logo.png"
|
||||||
|
|
|
@ -304,12 +304,12 @@ int handle_file_upload(FILE* in, R_RSA_PUBLIC_KEY& key) {
|
||||||
"<name>%s</name><max_nbytes>%.0f</max_nbytes>",
|
"<name>%s</name><max_nbytes>%.0f</max_nbytes>",
|
||||||
name, max_nbytes
|
name, max_nbytes
|
||||||
);
|
);
|
||||||
retval = verify_string(
|
retval = check_string_signature(
|
||||||
signed_xml, xml_signature, key, is_valid
|
signed_xml, xml_signature, key, is_valid
|
||||||
);
|
);
|
||||||
if (retval || !is_valid) {
|
if (retval || !is_valid) {
|
||||||
log_messages.printf(MSG_CRITICAL,
|
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,
|
signed_xml, xml_signature,
|
||||||
retval, is_valid
|
retval, is_valid
|
||||||
);
|
);
|
||||||
|
|
|
@ -152,7 +152,9 @@ static bool ati_check(COPROC_ATI& c, HOST_USAGE& hu,
|
||||||
double cpu_frac, // fraction of FLOPS performed by CPU
|
double cpu_frac, // fraction of FLOPS performed by CPU
|
||||||
double flops_scale
|
double flops_scale
|
||||||
) {
|
) {
|
||||||
|
if (c.version_num) {
|
||||||
ati_requirements.update(min_driver_version, min_ram);
|
ati_requirements.update(min_driver_version, min_ram);
|
||||||
|
}
|
||||||
|
|
||||||
if (need_amd_libs) {
|
if (need_amd_libs) {
|
||||||
if (!c.amdrt_detected) {
|
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 (cc < min_cc) return false;
|
||||||
if (max_cc && cc >= max_cc) return false;
|
if (max_cc && cc >= max_cc) return false;
|
||||||
|
|
||||||
|
if (c.display_driver_version) {
|
||||||
cuda_requirements.update(min_driver_version, min_ram);
|
cuda_requirements.update(min_driver_version, min_ram);
|
||||||
|
}
|
||||||
|
|
||||||
// Old BOINC clients report display driver version;
|
// Old BOINC clients report display driver version;
|
||||||
// newer ones report CUDA RT version.
|
// newer ones report CUDA RT version.
|
||||||
|
|
Loading…
Reference in New Issue