[all-commits] [llvm/llvm-project] 713a5d: [OpenMP][AMDGCN] Initial math headers support

pdhaliwal-amd via All-commits all-commits at lists.llvm.org
Mon Aug 2 07:39:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 713a5d12cde58a5dff90cc3e2d1e67c2a78fe52f
      https://github.com/llvm/llvm-project/commit/713a5d12cde58a5dff90cc3e2d1e67c2a78fe52f
  Author: Pushpinder Singh <Pushpinder.Singh at amd.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Headers/__clang_hip_cmath.h
    M clang/lib/Headers/__clang_hip_math.h
    M clang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h
    M clang/lib/Headers/openmp_wrappers/cmath
    M clang/lib/Headers/openmp_wrappers/math.h
    A clang/test/Headers/Inputs/include/algorithm
    M clang/test/Headers/Inputs/include/cstdlib
    A clang/test/Headers/Inputs/include/utility
    A clang/test/Headers/amdgcn_openmp_device_math.c
    M clang/test/Headers/openmp_device_math_isnan.cpp

  Log Message:
  -----------
  [OpenMP][AMDGCN] Initial math headers support

With this patch, OpenMP on AMDGCN will use the math functions
provided by ROCm ocml library. Linking device code to the ocml will be
done in the next patch.

Reviewed By: JonChesterfield, jdoerfert, scchan

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




More information about the All-commits mailing list