mrirecon / bart

BART: Toolbox for Computational Magnetic Resonance Imaging
https://mrirecon.github.io/bart/
BSD 3-Clause "New" or "Revised" License
301 stars 164 forks source link

Nufft with DFT option not running on GPU #322

Open mavel101 opened 11 months ago

mavel101 commented 11 months ago

Hello,

I tried running the nufft on GPU in "DFT" mode with options "-g -s". This leads to an error "Command exited with error code -11". If I run the adjoint DFT with options "-g -s -a", the code runs. I believe, this is because in the adjoint mode, the GPU wrapper for the linear operator is not called in the case of selecting the DFT option. In the forward mode however, it is called and leads to the aforementioned error.

Is the NUDFT not supposed to run on a GPU?

Thanks in advance. Marten

mblum94 commented 2 months ago

Hi Marten,

the nuDFT is currently not implemented on the GPU. We'll add an error message which forbids use of the nuDFT with gpu selected.

Best, Moritz