top | item 43740735

(no title)

AndrewGaspar | 10 months ago

What you want isn't really "output C++ code that is pedantically equivalent to this Fortran code but with the array indexing fixed up", it's usually more like "translate this Fortran module into something that I can offload to a GPU using CUDA/ROCm/etc. with the same high level semantics, but GPU-friendly low level optimizations", and the exact composition of those low level bits probably don't look exactly like a loop-by-loop translation.

discuss

order

pjmlp|10 months ago

CUDA supports Fortran, is one of the reasons OpenCL lost.

jeffbee|10 months ago

Doesn't CUDA handle FORTRAN as such?