[all-commits] [llvm/llvm-project] aa2b59: [HIP] Restructure hip headers to add cmath

Aaron Enye Shi via All-commits all-commits at lists.llvm.org
Tue Oct 6 07:49:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aa2b593f1495a972a4a592952760ec9d5f7c01f1
      https://github.com/llvm/llvm-project/commit/aa2b593f1495a972a4a592952760ec9d5f7c01f1
  Author: Aaron En Ye Shi <enye.shi at gmail.com>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M clang/lib/Headers/CMakeLists.txt
    A clang/lib/Headers/__clang_hip_cmath.h
    M clang/lib/Headers/__clang_hip_libdevice_declares.h
    M clang/lib/Headers/__clang_hip_math.h
    M clang/lib/Headers/__clang_hip_runtime_wrapper.h

  Log Message:
  -----------
  [HIP] Restructure hip headers to add cmath

Separate __clang_hip_math.h header into __clang_hip_cmath.h
and __clang_hip_math.h. Improve the math function definition,
and add missing definitions or declarations. Add missing
overloads.

Reviewed By: tra, JonChesterfield

Differential Review: https://reviews.llvm.org/D88837




More information about the All-commits mailing list