CUDA Kernal AlongSide CUFFTMP

Dear Developers

This querry might be too fundamental but I wanted to run GPU kernal inside which I intend to call cuFFTMp method to compute fourier transform as well as perform certain distributed calculations inside the CUDA kernal which can run on individual GPUs attached to each process but my concern is that this distribution among multiple GPUs is automatically done inside cuFFTMp method so how can I enclose everything inside a CUDA kernal which runs on multiple GPUs.Any leads in this regard will truly prove to be beneficial.

Many Thanks
Pushkar

Hi Pushkarp,

While I’m not an expert in using cuFFTMp, I don’t believe this is possible as the cuFFTMp only has host routines and can not be called from device code.

-Mat

Hi @MatColgrove

Thanks alot for your quick response . Asking for your suggestion : should I look for “CUDA AWARE MPI” library like MVAPICH in order to carry out fourier transform inside device code instead of cuFFTMp.

Many Thanks
Pushkar

CUDA Aware MPI also only can be used for the host.

You should look at NVSHEMM. It’s a bit more limiting on the types of operations that you can do, but does allow for device side communication.