[all-commits] [llvm/llvm-project] 17c825: [OpenMP][CUDA][FIX] Use the new `remquo` overload ...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Oct 27 21:53:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 17c8251bca83072d2f3e00f936d6ce24500e6b02
      https://github.com/llvm/llvm-project/commit/17c8251bca83072d2f3e00f936d6ce24500e6b02
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M clang/lib/Headers/__clang_cuda_cmath.h

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list