Commit 722d5f5c authored by Paul's avatar Paul
Browse files

Update triple

parent fd313588
...@@ -469,7 +469,7 @@ struct mlir_program ...@@ -469,7 +469,7 @@ struct mlir_program
// HACK: Since MLIR can't handle the full target name // HACK: Since MLIR can't handle the full target name
auto hacked_tname = tname.substr(0, tname.find(":")); auto hacked_tname = tname.substr(0, tname.find(":"));
auto hacked_features = tname.substr(tname.find(":")); auto hacked_features = tname.substr(tname.find(":"));
mlirMIGraphXAddBackendPipeline(pm.get(), hacked_tname.c_str(), "", hacked_features.c_str()); mlirMIGraphXAddBackendPipeline(pm.get(), hacked_tname.c_str(), "amdgcn-amd-amdhsa", hacked_features.c_str());
mlirPassManagerRun(pm.get(), mmodule.get()); mlirPassManagerRun(pm.get(), mmodule.get());
code_object_op op; code_object_op op;
......
...@@ -116,7 +116,7 @@ module { ...@@ -116,7 +116,7 @@ module {
if(s.empty()) if(s.empty())
return; return;
std::cout << s << std::endl; std::cout << s << std::endl;
EXPECT(encode(s) == encode(mlir_output)); CHECK(encode(s) == encode(mlir_output));
EXPECT(verify_mlir(m)); EXPECT(verify_mlir(m));
} }
...@@ -145,7 +145,7 @@ module { ...@@ -145,7 +145,7 @@ module {
if(s.empty()) if(s.empty())
return; return;
std::cout << s << std::endl; std::cout << s << std::endl;
EXPECT(encode(s) == encode(mlir_output)); CHECK(encode(s) == encode(mlir_output));
EXPECT(verify_mlir(m)); EXPECT(verify_mlir(m));
} }
......
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