[Openmp-commits] [PATCH] D95093: [libomptarget][devicertl] Drop templated atomic functions

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 20 14:57:45 PST 2021


JonChesterfield added a comment.

Most of the intrinsic functions are defined on a single type, e.g. if we wanted to use the nvvm encoded one for atomic_inc.

Primarily, functions are simpler than templates. E.g. I like being able to disassemble target_impl.cu to see whether changing from atomicExch to an openmp pragma or a clang intrinsic changes the IR generated.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95093/new/

https://reviews.llvm.org/D95093



More information about the Openmp-commits mailing list