mirror of https://github.com/BOINC/boinc.git
client: COPROC_NVIDIA, COPROC_ATI and COPROC_INTEL constructors must initialize the entire struct, not just the GPU type field
This commit is contained in:
parent
407d16a7d9
commit
60f750e395
|
@ -7526,3 +7526,10 @@ Charlie 10 Dec 2012
|
|||
gpu_opencl.cpp
|
||||
lib/
|
||||
coproc.cpp,.h
|
||||
|
||||
Charlie 10 Dec 2012
|
||||
- client: COPROC_NVIDIA, COPROC_ATI and COPROC_INTEL constructors
|
||||
must initialize the entire struct, not just the GPU type field.
|
||||
|
||||
lib/
|
||||
coproc.h
|
||||
|
|
|
@ -321,7 +321,7 @@ struct COPROC_NVIDIA : public COPROC {
|
|||
void write_xml(MIOFILE&, bool scheduler_rpc);
|
||||
#endif
|
||||
COPROC_NVIDIA(): COPROC() {
|
||||
strcpy(type, proc_type_name_xml(PROC_TYPE_NVIDIA_GPU));
|
||||
clear();
|
||||
}
|
||||
void get(
|
||||
bool use_all,
|
||||
|
@ -360,7 +360,7 @@ struct COPROC_ATI : public COPROC {
|
|||
void write_xml(MIOFILE&, bool scheduler_rpc);
|
||||
#endif
|
||||
COPROC_ATI(): COPROC() {
|
||||
strcpy(type, proc_type_name_xml(PROC_TYPE_AMD_GPU));
|
||||
clear();
|
||||
}
|
||||
void get(
|
||||
bool use_all,
|
||||
|
@ -385,7 +385,7 @@ struct COPROC_INTEL : public COPROC {
|
|||
void write_xml(MIOFILE&, bool scheduler_rpc);
|
||||
#endif
|
||||
COPROC_INTEL(): COPROC() {
|
||||
strcpy(type, proc_type_name_xml(PROC_TYPE_INTEL_GPU));
|
||||
clear();
|
||||
}
|
||||
void get(
|
||||
bool use_all,
|
||||
|
|
Loading…
Reference in New Issue