[all-commits] [llvm/llvm-project] d1705c: [CUDA][NFC] Split math.h functions out of __clang_...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Wed Apr 1 21:47:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d1705c1196fedfe927716923ac121f1134924a36
      https://github.com/llvm/llvm-project/commit/d1705c1196fedfe927716923ac121f1134924a36
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M clang/lib/Headers/CMakeLists.txt
    M clang/lib/Headers/__clang_cuda_device_functions.h
    A clang/lib/Headers/__clang_cuda_math.h
    M clang/lib/Headers/__clang_cuda_runtime_wrapper.h

  Log Message:
  -----------
  [CUDA][NFC] Split math.h functions out of __clang_cuda_device_functions.h

This is not supported to change anything but allow us to reuse the math
functions separately from the device functions, e.g., source them at
different times. This will be used by the OpenMP overlay.

This also adds two `return` keywords that were missing.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D77238




More information about the All-commits mailing list