summaryrefslogtreecommitdiffstats
path: root/src/CudaRoiSelectAlgorithm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CudaRoiSelectAlgorithm.cpp')
-rw-r--r--src/CudaRoiSelectAlgorithm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CudaRoiSelectAlgorithm.cpp b/src/CudaRoiSelectAlgorithm.cpp
index f835c59..bbe2235 100644
--- a/src/CudaRoiSelectAlgorithm.cpp
+++ b/src/CudaRoiSelectAlgorithm.cpp
@@ -74,7 +74,7 @@ bool CCudaRoiSelectAlgorithm::initialize(const Config& _cfg)
CC.markNodeParsed("DataId");
// Option: GPU number
- m_iGPUIndex = (int)_cfg.self->getOptionNumerical("GPUindex", 0);
+ m_iGPUIndex = (int)_cfg.self->getOptionNumerical("GPUindex", -1);
m_iGPUIndex = (int)_cfg.self->getOptionNumerical("GPUIndex", m_iGPUIndex);
CC.markOptionParsed("GPUindex");
if (!_cfg.self->hasOption("GPUindex"))