Skip to content

Commit

Permalink
[ROCm] Fix an issue with undefined __oclc_ABI_version symbol.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoranjovanovic-ns committed Jun 4, 2024
1 parent ae0f079 commit 2ecd466
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,8 @@ std::vector<std::string> GetROCDLPaths(std::string gcn_arch_name,
new std::vector<std::string>(
{"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<std::string> result;
Expand Down

0 comments on commit 2ecd466

Please sign in to comment.