commit | fd52e3210d17c9867c00a55ca590f952cf5788eb | [log] [tgz] |
---|---|---|
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | Wed Jan 27 00:22:28 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jan 28 13:37:12 2021 -0800 |
tree | 5f27edeb69a1d46bebe0d451bf0325d414746eeb | |
parent | ae84cf7ce6b5b798ca1f4773f7a2e9dc8ad14a1f [diff] |
[libomptarget][cuda] Handle missing _v2 symbols gracefully [libomptarget][cuda] Handle missing _v2 symbols gracefully Follow on from D95367. Dlsym the _v2 symbols if present, otherwise use the unsuffixed version. Builds a hashtable for the check, can revise for zero heap allocations later if necessary. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D95415 GitOrigin-RevId: 653655040f3e89f7725ce6961d797d4ac918708b