torque submit filter that sets CUDA_VISIBLE_DEVICES based on specified number of GPUs.