diff --git a/MATLAB/Utilities/IO/VarianCBCT/BH_ObjectRemapping.m b/MATLAB/Utilities/IO/VarianCBCT/BH_ObjectRemapping.m index 0799c1c2..b304be75 100644 --- a/MATLAB/Utilities/IO/VarianCBCT/BH_ObjectRemapping.m +++ b/MATLAB/Utilities/IO/VarianCBCT/BH_ObjectRemapping.m @@ -55,7 +55,7 @@ %% GPU version: acceptable % GPU Reset for ii=1:length(gpuids) - g = gpuDevice(gpuids.devices(ii)); + g = gpuDevice(gpuids.devices(ii)+1); reset(g); end