[all-commits] [llvm/llvm-project] 12da97: [OpenMP][AMDGCN] Initial math headers support

pdhaliwal-amd via All-commits all-commits at lists.llvm.org
Fri Jul 30 07:52:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12da97ea10a941f0123340831300d09a2121e173
      https://github.com/llvm/llvm-project/commit/12da97ea10a941f0123340831300d09a2121e173
  Author: Pushpinder Singh <Pushpinder.Singh at amd.com>
  Date:   2021-07-30 (Fri, 30 Jul 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