ROCm / llvm-project

This is the AMD-maintained fork of the LLVM git repository. This repository accepts pull requests and issues related to AMD fork-specific topics (amd/*). For all other issues/PRs, please submit upstream at https://github.com/llvm/llvm-project.
Other
94 stars 48 forks source link

[flang][OpenMP] Add support for `target ... private` #39

Closed ergawy closed 2 months ago

ergawy commented 3 months ago

Adds support for the private clause in the target directive. In order to support that, the DataSharingProcessor was also restructured in order to separate the collection of prviate symbols from their actual privatization code-gen.

The commit adds both a code-gen and an offloading tests.

ergawy commented 2 months ago

Ping 🔔! Until delayed privatization is done, this is an implementation of target ... private in the "classic" way. Please take a look and let me know if you see any gaps 🙏.