[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
Fri Aug 10 06:56:22 PDT 2018


gtbercea added a comment.



>   I don't want to use a fast `pow(a, 2)`, I don't want to call a library function for that at all.

I do believe you won't end up calling a function. If you're compiling with optimizations on this will be inlined.


Repository:
  rC Clang

https://reviews.llvm.org/D47849





More information about the cfe-commits mailing list