[PATCH] D99447: [OpenMP] Define omp_is_initial_device() variants in omp.h

Hansang Bae via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 2 15:11:37 PDT 2021


hbae updated this revision to Diff 335034.
hbae added a comment.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Removed omp_is_initial_device() from clang built-ins.
Added a new test under openmp/libomptarget.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99447

Files:
  clang/include/clang/Basic/Builtins.def
  clang/lib/AST/ExprConstant.cpp
  clang/test/OpenMP/is_initial_device.c
  openmp/libomptarget/test/api/is_initial_device.c
  openmp/runtime/src/include/omp.h.var

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99447.335034.patch
Type: text/x-patch
Size: 4913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210402/2eefa534/attachment-0001.bin>


More information about the cfe-commits mailing list