[Openmp-commits] [PATCH] D94731: [libomptarget][nvptx] Call builtins instead of cuda

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 14 17:28:22 PST 2021


JonChesterfield added a comment.

That's interesting. Move some of the current target_impl.h into clang shipped headers.

target_impl.h: `DEVICE lanemask_t __kmpc_impl_activemask();`

nvptx: Some header,

  #include <cuda.h>
  INLINE lanemask_t __kmpc_impl_activemask() {...}
  ``\
  
  amdgpu: target_impl.cpp `implementation`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94731



More information about the Openmp-commits mailing list