mirror of
https://gitlab.cs.uni-saarland.de/hpc/cc-condor-sync.git
synced 2024-12-26 05:29:06 +01:00
We have the gpu map for that... :/
This commit is contained in:
parent
4c22c4c6eb
commit
063713d18c
@ -296,7 +296,7 @@ CCSyncPlugin::getAccelerators(const CondorJob &job,
|
|||||||
while (std::getline(gpuStream, gpu, ',')) {
|
while (std::getline(gpuStream, gpu, ',')) {
|
||||||
if (auto gpuIt = hostIt->second.find(gpu);
|
if (auto gpuIt = hostIt->second.find(gpu);
|
||||||
gpuIt != hostIt->second.end()) {
|
gpuIt != hostIt->second.end()) {
|
||||||
gpus.push_back("0000" + gpuIt->second);
|
gpus.push_back(gpuIt->second);
|
||||||
} else {
|
} else {
|
||||||
dprintf(D_ALWAYS, "Didn't find GPU '%s' for '%s'\n", gpu.c_str(),
|
dprintf(D_ALWAYS, "Didn't find GPU '%s' for '%s'\n", gpu.c_str(),
|
||||||
hostname.c_str());
|
hostname.c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user