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

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 14 16:48:12 PST 2021


jdoerfert added a comment.

I don't really like that we have to implement the cuda functions we already implement in places like `clang/lib/Headers/__clang_cuda_device_functions.h`.
Another problem is we still depend on the CUDA_VERSION and thereby cuda.h. We should forward declare what we need here and put it in the unconditionally included openmp_wrapper headers.


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