As I mentioned here recently, one of the primary motivations for many Fortran-to-C++ translations in the DOE national lab community have been motivated by a desire to use the Kokkos performance portability layer. I have made the case recently that in Fortran, the compiler is the performance portability layer now that at least five compilers or compiler families automatically offload do concurrent and at least one offloads array statements (amdflang, which will eventually upstream the capability to LLVM flang). When I make this case, the two most common criticisms that I hear are that do concurrent has limitations or that it’s harder for the compiler to optimize when the CPU and GPU have distinct memory.
I believe performance claims and performance criticisms alike must be accompanied by performance data. To investigate the observed behaviors across domains, I recently posted a posted the do-concurrent-bibiliography repository and welcome pull requests to add papers. The initial README.md lists 11 of the first 13 papers that Google Scholar (GS) found as of 22 November 2026 given the following search string:
+Fortran “do concurrent”
including the double quotes. The two papers that I didn’t include don’t address performance and the papers that GS listed after the first 13 appear to be unrelated to Fortran’s do concurrent. So there’s no cherry-picking in the bibliography.
Each bibliography item contains a link to the corresponding paper. It might be useful to either reproduce the abstract (if that doesn’t violate the copyright) or to link to add a brief description of each paper’s results as they relate to do concurrent performance.
I haven’t read each paper in detail, but I what I have read is encouraging overall and specifically as it relates to the aforementioned criticism. For example,
The papers cover a range of domains from magnetohydrodynamics (MHD) to oceans, materials science, porous media, quantum chemistry, and deep learning. Whatever limitations do concurrent has do not preclude its usefulness with good performance across several disparate domains.
Regarding distinct memory, I find the oldest paper is especially noteworthy: Stulajter, Caplan & Linker (2022), which was submitted for publication in 2021, at which time only nvfortran offered automatic offloading of do concurrent. The authors used AMD EPYC 7742 CPUs and NVIDIA A100 SXM4 GPUs. Claude tells me that this implies distinct memory. (Someone please correct me if that’s wrong.). The authors state: “We find that with the right compiler versions and flags, many directives can be replaced without loss of performance or portability, and, in the case of nvfortran, they can all be replaced.”
FWIW, I have personally implemented do concurrent in two very different settings: Berkeley Lab’s Fiats deep learning library and Formal partial differential equation solver framework. For CPU performance, we published a paper in 2025 showing that do concurrent matched the performance of using OpenMP directives plus regular do loops for batch inference using Fiats. For GPUs, only the LFortran compiler can offload Fiats and Formal and we crossed that milestone too recently for me to have useful performance results.
I haven’t played with do concurrent due to most of my codes use/need REAL64 and no commodity GPUs (that I can afford) support double precision. Also, do some implementations of do concurrent use OpenMP to do the actual offload etc or do all current implementations talk directly to the hardware API?
Can you name one commodity graphics card from Nvidia/AMD/Intel that directly supports FP64 without some kind of emulation. The only GPUs I know that do that are the $10K plus HPC data center cards. I didn’t think support for FP64 was burned into the silicon.
All GeForce cards in the last 10 years support FP64 directly (but with many fewer FP64 cores than server cards) - including laptop cards.
All Radeon cards (at least in the last several years) directly support as well.
The Intel Arc “A” series does NOT (only emulation), but the current Battlemage cards (like the B580) support FP64 directly.
Nvidia consumer GPUs (RTX series) of the last ~decade (20-, 30-, 40-, 50-) series all have hardware fp64 to the best of my knowledge, although at a restricted rate (e.g. 1:32). As Ron @sumseq says, if your code is bandwidth-limited it works just fine.
Intel Arc B580 has hardware fp64 and 12 GB memory. It goes for ~400 $ (the lowest I’ve seen was € 249.90!). It belongs to the Xe_HPG generation. You can check in the Intel Graphics Compiler which GPUs don’t have hardware fp64:
Hi,
As others have said, NVIDIA RTX consumer GPUs support FP64 natively (AMD probably has the same, but I’m not sure about Intel). You can already try, I guess.
The point is the expectations: consumer RTX GPUs have, in general, not a large number of FP64 cores; thus, it could happen often that a good CPU outperforms a not-so-good GPU in FP64 computation.
A concrete example is my development workstation: I have a 13th Gen Intel(R) Core™ i9-13900KF with 64GB RAM (DDR5) and 2 GPUs, NVIDIA GeForce RTX 4070 with 12GB VRAM each; in many applications, the CPU (MPI/OpenMP) version of my CFD solvers is faster than the GPU (MPI/OpenACC) sibling when FP64 computations are involved. Doing the same in FP32 totally invert the results, with the 2x4070 GPUs destroying the Intel i9 (order of magnitude faster). Obviously, with HPC-grade GPUs, the FP64 computations are also an order of magnitude faster than on CPUs.
I’ll take Ron and Ivans word that FP64 is supported albeit at a much reduced performance. I based my assumptions on the fact that FP64 support is never (to the best of my knowledge) mentioned in any of the official specifications for the Nvidia or AMD consumer graphics cards. Sites like TECPOWERUP do list theoretical FP64 performance but I always assumed that was emulated and not direct hardware support.
The last consumer graphics card I know where FP64 ran at the same speed (or close to it) as FP32 was the old Nvidia TITAN BLACK.
Yes, FP64 support is not often mentioned for consumer cards as they are targeted for gaming and AI these days - but they do work!
The “much reduced performance” is very dependent on your algorithms.
As I mentioned, if you are memory bound, the consumer cards will perform in FP64 at their memory bandwidth rate. If your algorithms are “FLOP-bound”, you will have much less performance compared to server cards.
Memory bound algorithms (like the HPCG benchmark) typically only use 1% of peak FLOPs, so on a consumer GPU, this becomes 30-40% due to fewer FP64 cores but still can hit the performance roofline.
The Titan Black was the last consumer card that did NOT have reduced FP64 cores compared to server cards (and even in that case you had to set a mode in nvidia-smi to fully unlock it). Maybe this led to the impression it was the last card that had FP64 at all, which is not the case.
AI tells me " For modern Fortran parallelism, choose DO CONCURRENT for clean, standard-compliant portability across CPUs and GPUs"
Is the usage of “DO CONCURRENT” discussed in this thread standard-compliant? Or have some of the pure function limitations been relaxed ?
I am unable to use DO Concurrent because of these limitations.
It would be a good improvement if there could be some standardisation of the interface for different GPU processors, so that each variant of Fortran could support more than one type of GPU, or has this already been achieved ?