mirror of https://github.com/BOINC/boinc.git
- client: fix bug introduced in [23765] that produced garbage
in <coproc> elements in sched req msgs and elsewhere. peak_flops is a double. If you print it using %d, everything from that point forward is messed up. svn path=/trunk/boinc/; revision=23815
This commit is contained in:
parent
f526fb0980
commit
5b419c266e
|
@ -3935,3 +3935,13 @@ David 7 July 2011
|
|||
|
||||
client/
|
||||
client_state.cpp
|
||||
|
||||
David 7 July 2011
|
||||
- client: fix bug introduced in [23765] that produced garbage
|
||||
in <coproc> elements in sched req msgs and elsewhere.
|
||||
peak_flops is a double.
|
||||
If you print it using %d, everything from that point forward
|
||||
is messed up.
|
||||
|
||||
lib/
|
||||
coproc.cpp
|
||||
|
|
|
@ -222,7 +222,7 @@ void COPROC_NVIDIA::write_xml(MIOFILE& f, bool include_request) {
|
|||
}
|
||||
|
||||
f.printf(
|
||||
" <peak_flops>%d</peak_flops>\n"
|
||||
" <peak_flops>%f</peak_flops>\n"
|
||||
" <cudaVersion>%d</cudaVersion>\n"
|
||||
" <drvVersion>%d</drvVersion>\n"
|
||||
" <deviceHandle>%d</deviceHandle>\n"
|
||||
|
@ -393,7 +393,7 @@ void COPROC_ATI::write_xml(MIOFILE& f, bool include_request) {
|
|||
write_request(f);
|
||||
}
|
||||
f.printf(
|
||||
" <peak_flops>%d</peak_flops>\n"
|
||||
" <peak_flops>%f</peak_flops>\n"
|
||||
" <CALVersion>%s</CALVersion>\n"
|
||||
" <target>%d</target>\n"
|
||||
" <localRAM>%d</localRAM>\n"
|
||||
|
|
Loading…
Reference in New Issue