Skip to content

GPU and Fortran interface ? #3259

Answered by WeiqunZhang
avergnaud002 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is still the case. If you call amrex_multifab_add from Fortran, it will run on GPU. But if you have your own functions, you can write it in C++ and provides a Fortran interface, or you can use OpenMP or OpenACC or CUDA Fortran etc.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@avergnaud002
Comment options

Answer selected by avergnaud002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants