The other macro uses a unqualified lookup already and the qualified one
will cause problems in the OpenMP overlay.
Depends on D77238.
Differential D77239
[CUDA][NFCI] Use unqualified lookup for math functions jdoerfert on Apr 1 2020, 1:20 PM. Authored by
Details
Diff Detail
Unit Tests Event TimelineComment Actions
There's a bit of inconsitency here. While __CUDA_CLANG_FN_INTEGER_OVERLOAD_2 indeed uses unqualified lookup, pretty much all other functions use qualified global scope lookups, which, I believe is correct, as we want to use the functions defined by CUDA headers there. @jlebar -- WDYT? Comment Actions It turns out I can disable this entire code region for OpenMP (or have to for c++17 I tihnk), so I'll abandon this revision and you make it consistent in the way that fits your need :) |