We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69d922f commit 4a27593Copy full SHA for 4a27593
test/gpu/fuse_mlir.cpp
@@ -1849,12 +1849,11 @@ TEST_CASE(dot_add_dot_abc)
1849
auto device_name = migraphx::gpu::get_device_name();
1850
bool is_navi =
1851
migraphx::starts_with(device_name, "gfx11") or migraphx::starts_with(device_name, "gfx12");
1852
- if(is_navi){
+ // fusion should not happen if the device is navi or the fusion flag is disabled
1853
+ if(is_navi or not migraphx::enabled(MIGRAPHX_ENABLE_MLIR_GEG_FUSION{}))
1854
EXPECT(program_str.find("geg") == std::string::npos);
- }
1855
- else {
+ else
1856
EXPECT(program_str.find("geg") != std::string::npos);
1857
1858
}
1859
1860
TEST_CASE(dot_add_dot_cab)
0 commit comments