commit | d923a84bbb1531028ae7ab4e3debe410e63c08e7 | [log] [tgz] |
---|---|---|
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | Wed Jan 20 15:50:41 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jan 21 18:05:17 2021 -0800 |
tree | 311ae822a39cc4086135156de14a5eae898d89cb | |
parent | 4200e2aa1250692e48654355e373897d9fb2e91c [diff] |
[libomptarget][devicertl] Wrap source in declare target pragmas [libomptarget][devicertl] Wrap source in declare target pragmas Factored out of D93135 / D94745. C++ and cuda ignore unknown pragmas so this is a NFC for the current implementation language. Removes noise from patches for building deviceRTL as openmp. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D95048 GitOrigin-RevId: e069662deb1fa167b3e5fdce4c9949e663df8082