[PATCH] D47849: [OpenMP][Clang][NVPTX] Enable math functions called in an OpenMP NVPTX target device region to be resolved as device-native function calls

Gheorghe-Teodor Bercea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 8 07:19:08 PDT 2018


gtbercea added a comment.



> IIRC you started to work on this to fix the problem with inline assembly (see https://reviews.llvm.org/D47849#1125019). AFAICS this patch fixes declarations of math functions but you still cannot include `math.h` which most "correct" codes do.

I'm not sure what you mean by this. This patch enables me to include math.h.


Repository:
  rC Clang

https://reviews.llvm.org/D47849





More information about the cfe-commits mailing list