[OpenMP][CUDA][FIX] Use the new `remquo` overload only for OpenMP
authorJohannes Doerfert <johannes@jdoerfert.de>
Wed, 28 Oct 2020 04:50:00 +0000 (23:50 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Wed, 28 Oct 2020 04:52:59 +0000 (23:52 -0500)
commit17c8251bca83072d2f3e00f936d6ce24500e6b02
tree0add8f8ebd64a6ec5245df32dd0f341f3be98080
parentadfaeece7b1675f01788bac02ddc6f5df7fe31ae
[OpenMP][CUDA][FIX] Use the new `remquo` overload only for OpenMP

CUDA buildbots complained about a redefinition when I landed D89971.
This is odd and I fail to understand where in the CUDA headers the other
definition is supposed to be. For now, given that CUDA doesn't need the
overload (AFAIKT), we simply restrict it to the OpenMP mode.
clang/lib/Headers/__clang_cuda_cmath.h