[all-commits] [llvm/llvm-project] 5513d5: [OpenMP][AMDGPU] Do not include 'ockl' implementat...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Oct 27 12:56:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5513d58ad5da093ac94ec511e575b1d27606b737
https://github.com/llvm/llvm-project/commit/5513d58ad5da093ac94ec511e575b1d27606b737
Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
Date: 2023-10-27 (Fri, 27 Oct 2023)
Changed paths:
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/test/Driver/amdgpu-openmp-toolchain.c
Log Message:
-----------
[OpenMP][AMDGPU] Do not include 'ockl' implementations in OpenMP (#70462)
Summary:
The 'ockl' bitcode library from the ROCm device library contains several
implementations of functions like `printf` and `malloc`. We currently do
not depend on these in the OpenMP toolchain, so we shouldn't be linking
them. The primary motivation behind this change is the library rewriting
calls to `printf` and pulling in other unused 'hostcall' routines.
More information about the All-commits
mailing list