[PATCH] D96248: [OpenMP][AMDGPU] Add support for linking libomptarget bitcode
Pushpinder Singh via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 8 01:15:31 PST 2021
pdhaliwal created this revision.
pdhaliwal added reviewers: jdoerfert, JonChesterfield, ronlieb, saiislam, ABataev.
Herald added subscribers: dang, kerbowa, guansong, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a reviewer: jansvoboda11.
pdhaliwal requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1, wdng.
Herald added a project: clang.
This patch uses the existing logic of CUDA for searching libomptarget
and extracts it to a common method.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96248
Files:
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/CommonArgs.h
clang/lib/Driver/ToolChains/Cuda.cpp
clang/test/Driver/Inputs/hip_dev_lib/libomptarget-amdgcn-gfx803.bc
clang/test/Driver/Inputs/hip_dev_lib/libomptarget-amdgcn-gfx906.bc
clang/test/Driver/amdgpu-openmp-toolchain.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96248.322048.patch
Type: text/x-patch
Size: 9557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210208/6c762bf3/attachment.bin>
More information about the cfe-commits
mailing list