[PATCH] D59321: WIP: AMDGPU: Teach toolchain to link rocm device libs

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 13 13:24:41 PDT 2019


arsenm created this revision.
arsenm added reviewers: yaxunl, ashi1.
Herald added subscribers: jdoerfert, t-tye, tpr, dstuttard, nhaehnle, wdng, jvesely, kzhuravl.

This is pending finalization of what the device library build path/names are. I'm also not sure if some of the standard default library control flags should be used for these purposes, or if new ones are necessary


https://reviews.llvm.org/D59321

Files:
  include/clang/Basic/DiagnosticDriverKinds.td
  include/clang/Driver/Options.td
  lib/Driver/Driver.cpp
  lib/Driver/ToolChains/AMDGPU.cpp
  lib/Driver/ToolChains/AMDGPU.h
  test/CodeGenOpenCL/amdgpu-debug-info-pointer-address-space.cl
  test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
  test/Driver/Inputs/rocm-device-libs/lib/irif.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/ockl.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/oclc_correctly_rounded_sqrt_off.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/oclc_correctly_rounded_sqrt_on.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/oclc_daz_opt_off.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/oclc_daz_opt_on.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/oclc_finite_only_off.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/oclc_finite_only_on.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/oclc_isa_version_803.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/oclc_isa_version_900.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/oclc_unsafe_math_off.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/oclc_unsafe_math_on.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/ocml.amdgcn.bc
  test/Driver/Inputs/rocm-device-libs/lib/opencl.amdgcn.bc
  test/Driver/amdgpu-visibility.cl
  test/Driver/rocm-detect.cl
  test/Driver/rocm-device-libs.cl
  test/Driver/rocm-not-found.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59321.190487.patch
Type: text/x-patch
Size: 26951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190313/de476777/attachment-0001.bin>


More information about the cfe-commits mailing list