[PATCH] D108552: [OpenMP][AMDGCN] Enable complex functions

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 23 08:21:10 PDT 2021


jdoerfert accepted this revision.
jdoerfert added a comment.
This revision is now accepted and ready to land.

LG



================
Comment at: clang/lib/Headers/openmp_wrappers/complex:20
 
+#ifdef __NVPTX__
 #define __OPENMP_NVPTX__
----------------
JonChesterfield wrote:
> I don't think this should be necessary - the declare variant stuff works for nvptx afaik
You need it because the file has include guards.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108552



More information about the cfe-commits mailing list