diff --git a/lib/coproc.cpp b/lib/coproc.cpp index 44d27f9480..847453afef 100644 --- a/lib/coproc.cpp +++ b/lib/coproc.cpp @@ -299,11 +299,13 @@ void COPROC_CUDA::clear() { prop.maxGridSize[0] = 0; prop.maxGridSize[1] = 0; prop.maxGridSize[2] = 0; + prop.clockRate = 0; prop.totalConstMem = 0; prop.major = 0; prop.minor = 0; - prop.clockRate = 0; prop.textureAlignment = 0; + prop.deviceOverlap = 0; + prop.multiProcessorCount = 0; } int COPROC_CUDA::parse(FILE* fin) { @@ -346,11 +348,13 @@ int COPROC_CUDA::parse(FILE* fin) { } continue; } + if (parse_int(buf, "", prop.clockRate)) continue; if (parse_int(buf, "", (int&)prop.totalConstMem)) continue; if (parse_int(buf, "", prop.major)) continue; if (parse_int(buf, "", prop.minor)) continue; - if (parse_int(buf, "", prop.clockRate)) continue; if (parse_int(buf, "", (int&)prop.textureAlignment)) continue; + if (parse_int(buf, "", prop.deviceOverlap)) continue; + if (parse_int(buf, "", prop.multiProcessorCount)) continue; } return ERR_XML_PARSE; }