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

pdhaliwal-amd via All-commits all-commits at lists.llvm.org
Wed Jul 21 08:16:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 968899ad9cf17579f9867dafb35c4d97bad0863f
      https://github.com/llvm/llvm-project/commit/968899ad9cf17579f9867dafb35c4d97bad0863f
  Author: Pushpinder Singh <Pushpinder.Singh at amd.com>
  Date:   2021-07-21 (Wed, 21 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