We have the gpu map for that... :/

This commit is contained in:
Joachim Meyer 2023-02-08 08:21:01 +01:00
parent 4c22c4c6eb
commit 063713d18c

View File

@ -296,7 +296,7 @@ CCSyncPlugin::getAccelerators(const CondorJob &job,
while (std::getline(gpuStream, gpu, ',')) {
if (auto gpuIt = hostIt->second.find(gpu);
gpuIt != hostIt->second.end()) {
gpus.push_back("0000" + gpuIt->second);
gpus.push_back(gpuIt->second);
} else {
dprintf(D_ALWAYS, "Didn't find GPU '%s' for '%s'\n", gpu.c_str(),
hostname.c_str());