[OpenACC] Is OpenACC available in LLVM now?

I don’t really have it published anywhere yet, so you’d have to look at commit history, which I know isn’t particularly useful.

Yes, the flag is supported in both compilers, and I cannot talk to the state of the Flang compiler (@clementval might be able to).

In Clang, we’re still working through the implementation. At the moment, I’m about 70% of the way through implementing the ‘semantic analysis’, though ZERO of the frontend codegen has been completed.

We are going to require MLIR/OpenACC-Dialect to have parallel code generated for OpenACC in Clang, so we’re blocked by the CIR upstreaming effort on getting the lowering working, but at least intend to start on that effort as “soon”.

We’re still likely a few releases of Clang away from having it functional.

3 Likes