mirror of https://github.com/BOINC/boinc.git
client: fix bug in GPU detection
This commit is contained in:
parent
e30de9c2dd
commit
b0a02bb128
|
@ -403,7 +403,7 @@ void COPROC_NVIDIA::clear() {
|
||||||
prop.textureAlignment = 0;
|
prop.textureAlignment = 0;
|
||||||
prop.deviceOverlap = 0;
|
prop.deviceOverlap = 0;
|
||||||
prop.multiProcessorCount = 0;
|
prop.multiProcessorCount = 0;
|
||||||
is_used = COPROC_UNUSED;
|
is_used = COPROC_USED;
|
||||||
}
|
}
|
||||||
|
|
||||||
int COPROC_NVIDIA::parse(XML_PARSER& xp) {
|
int COPROC_NVIDIA::parse(XML_PARSER& xp) {
|
||||||
|
@ -656,7 +656,7 @@ void COPROC_ATI::clear() {
|
||||||
memset(&attribs, 0, sizeof(attribs));
|
memset(&attribs, 0, sizeof(attribs));
|
||||||
memset(&info, 0, sizeof(info));
|
memset(&info, 0, sizeof(info));
|
||||||
version_num = 0;
|
version_num = 0;
|
||||||
is_used = COPROC_UNUSED;
|
is_used = COPROC_USED;
|
||||||
}
|
}
|
||||||
|
|
||||||
int COPROC_ATI::parse(XML_PARSER& xp) {
|
int COPROC_ATI::parse(XML_PARSER& xp) {
|
||||||
|
@ -845,7 +845,7 @@ void COPROC_INTEL::clear() {
|
||||||
strcpy(name, "");
|
strcpy(name, "");
|
||||||
strcpy(version, "");
|
strcpy(version, "");
|
||||||
global_mem_size = 0;
|
global_mem_size = 0;
|
||||||
is_used = COPROC_UNUSED;
|
is_used = COPROC_USED;
|
||||||
}
|
}
|
||||||
|
|
||||||
int COPROC_INTEL::parse(XML_PARSER& xp) {
|
int COPROC_INTEL::parse(XML_PARSER& xp) {
|
||||||
|
|
Loading…
Reference in New Issue