mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
Update hip_backend to use libhsa-runtime for arch info, (#411)
brings in path changes for pytorch triton wheels Co-authored-by: jayfurmanek <Jason.Furmanek@amd.com>
This commit is contained in:
@@ -232,7 +232,7 @@ std::string generate_hsaco(llvm::Module *module, const std::string &triple,
|
||||
.parent_path()
|
||||
.parent_path() /
|
||||
"triton" / "third_party" /
|
||||
"rocm" / "llvm" / "bin" / "ld.lld";
|
||||
"hip" / "llvm" / "bin" / "ld.lld";
|
||||
std::string lld_path = compiletime_path.string();
|
||||
if (!std::filesystem::exists(lld_path)) {
|
||||
std::string rocm_path = ::triton::tools::getenv("ROCM_PATH");
|
||||
|
||||
Reference in New Issue
Block a user