clangir icon indicating copy to clipboard operation
clangir copied to clipboard

Initial support for OpenACC

Open bcardosolopes opened this issue 1 year ago • 4 comments

Implement one first simple pragma!

bcardosolopes avatar Oct 23 '23 02:10 bcardosolopes

Not sure how much this related or is similar to #285, tracking separately for now!

bcardosolopes avatar Oct 23 '23 02:10 bcardosolopes

I believe that there are currently no OpenACC nodes in the AST. The existing OpenACC parsing lowers to OpenMP very early, so OpenACC pragmas result in OpenMP AST nodes. Erich Keane is working on redoing the OpenACC parsing in Clang, which will involve creating OpenACC AST nodes. This issue should wait until that effort is further along. But OpenACC processing is high on the priority list for NVIDIA, so I will likely handle this issue as soon as the time is right.

dkolsen-pgi avatar Oct 23 '23 04:10 dkolsen-pgi

@dkolsen-pgi are you currently working on this open issue? I just found it and i wanted to give it a try on the next month if that's not the case, thank you!

eZWALT avatar Dec 28 '23 22:12 eZWALT

I am not working on this, because Clang doesn't have proper OpenACC support yet. It is not time yet to start working on this issue. My teammate Erich Keane is currently working on OpenACC support in the Clang front end. We can't really start on ClangIR support for OpenACC until Erich is done (or at least further along than he currently is).

dkolsen-pgi avatar Dec 28 '23 22:12 dkolsen-pgi