DTolm / VkFFT

Vulkan/CUDA/HIP/OpenCL/Level Zero/Metal Fast Fourier Transform library
MIT License
1.47k stars 88 forks source link

Fortran API #176

Open mathrack opened 3 weeks ago

mathrack commented 3 weeks ago

Hello,

Thank you for your work on VkFFT. It is very interesting. We are thinking about the integration of VkFFT inside 2decomp-fft. However, I think the library can not be easily called from Fortran currently.

I am opening the present issue to discuss the possibility of a Fortran API.

Best regards, Mathrack

DTolm commented 3 weeks ago

Hello,

I have no experience in Fortran and don't really know what it would take to use C code in it. Maybe someone with more experience can comment on how this can be done without rewriting the whole codebase in Fortran (which still shouldn't be extremely hard, as the code is C and not C++).

Best regards, Dmitrii