[PATCH] D113421: [clang][openmp][NFC] Remove arch-specific CGOpenMPRuntimeGPU files

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 8 10:53:36 PST 2021


jdoerfert added a comment.

In D113421#3116155 <https://reviews.llvm.org/D113421#3116155>, @tianshilei1992 wrote:

> I remember at some point we want to just emit function call to get those information like thread id.

Yes, no intrinsics please. Add `__kmpc_get_warp_size` and similar functions to both runtimes and then emit calls to them instead.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113421



More information about the cfe-commits mailing list