Commit 52b63b9f by Thomas Viehmann Committed by masahi

Print llvm source by default in ROCMModuleNode::GetSource (#3662)

parent f1d43378
......@@ -79,7 +79,7 @@ class ROCMModuleNode : public runtime::ModuleNode {
std::string GetSource(const std::string& format) final {
if (format == fmt_) { return data_; }
if (format == "llvm") { return hip_source_; }
if (format == "llvm" || format == "") { return hip_source_; }
if (format == "asm") { return assembly_; }
return "";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment