commit | 778df2c42c7fc5c2a35510911b409f561550bf11 | [log] [tgz] |
---|---|---|
author | Shilei Tian <tianshilei1992@gmail.com> | Thu Jan 21 10:37:05 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jan 21 18:05:37 2021 -0800 |
tree | e538a32364dbc7de3aaa4044533d7720594737af | |
parent | cc57f862b38191d0766b24517134d7422e241da6 [diff] |
[OpenMP][NVPTX] Added forward declaration for atomic operations Pretty similar to D95058, this patch added forward declaration for CUDA atomic functions. We already have definitions with right mangled names in internal CUDA headers so the forward declaration here can work properly. Reviewed By: jdoerfert, JonChesterfield Differential Revision: https://reviews.llvm.org/D95085 GitOrigin-RevId: 48c54f0f623407192e93dc884724a12826eeab4f