I’m using a system with multiple GPU’s. I would like to dedicate a GPU to a process, and that have that dedicated GPU not be the “root” GPU, or basically not device 0. When attempting to call cufftExecR2C() in a process that I’ve called cudaSetDevice() in to select a GPU for that process that is not the “root” or 0 device, I’m getting a CUFFT_EXEC_FAILED error. When I pass “0” to cudaSetDevice() in that process though, the calls to execute the FFT works as expected.
Is there a step I’m missing when attempting to use cudaSetDevice() to map a single GPU to a single process on a system with multiple GPU’s, and combined that with the cuFFT library?