From c1653b28ab73c3560967ac3b2e4c58f432c9b675 Mon Sep 17 00:00:00 2001 From: zoranjovanovic-ns <126815388+zoranjovanovic-ns@users.noreply.github.com> Date: Wed, 17 Jul 2024 02:25:16 -0700 Subject: [PATCH] PR #14964: [ROCm] Fix an issue with undefined __oclc_ABI_version symbol. Imported from GitHub PR https://github.com/openxla/xla/pull/14964 Copybara import of the project: -- e1691462396648278cc0d64615a574e9fb45836e by Zoran Jovanovic : [ROCm] Fix an issue with undefined __oclc_ABI_version symbol. Merging this change closes #14964 PiperOrigin-RevId: 653151093 --- .../xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/third_party/xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc b/third_party/xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc index a3ed5f71fbbb74..13e17bbb477f24 100644 --- a/third_party/xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc +++ b/third_party/xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc @@ -713,7 +713,8 @@ std::vector GetROCDLPaths(std::string gcn_arch_name, new std::vector( {"opencl.bc", "ocml.bc", "ockl.bc", "oclc_finite_only_off.bc", "oclc_daz_opt_off.bc", "oclc_correctly_rounded_sqrt_on.bc", - "oclc_unsafe_math_off.bc", "oclc_wavefrontsize64_on.bc"}); + "oclc_unsafe_math_off.bc", "oclc_wavefrontsize64_on.bc", + "oclc_abi_version_500.bc"}); // Construct full path to ROCDL bitcode libraries. std::vector result;