Cuda Visible Devices

CUDA_VISIBLE_DEVICES=0,1 ./cuda_executable
Martin Spoto