[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
Tue Aug 7 09:19:57 PDT 2018


gtbercea added a comment.

In https://reviews.llvm.org/D47849#1190903, @Hahnfeld wrote:

> Do we still need this? I think what we really need to solve is the problem of (host) inline assembly in the header files...


Don't we want to use device specific math functions?
It's not just about avoiding some the host specific assembly, it's also about getting an implementation tailored to the device.


Repository:
  rC Clang

https://reviews.llvm.org/D47849





More information about the cfe-commits mailing list