[PATCH] D94884: [Clang][OpenMP] Include header for CUDA builtin vars into OpenMP wrapper header

Shilei Tian via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 14:02:58 PST 2021


tianshilei1992 added a comment.

In D94884#2508000 <https://reviews.llvm.org/D94884#2508000>, @JonChesterfield wrote:

> Note that a cuda-free openmp devicertl compilation doesn't require this patch, or any other pieces of cuda headers.

Yes, we can write all code with CUDA built-in or others in LLVM intrinsics. Then the question is, do we want to use existing wrapper headers or all LLVM instrinsics?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94884



More information about the cfe-commits mailing list