diff --git a/src/mlo_dir_conv.cpp b/src/mlo_dir_conv.cpp index 5613e23682..b8ea8ee33e 100644 --- a/src/mlo_dir_conv.cpp +++ b/src/mlo_dir_conv.cpp @@ -383,4 +383,10 @@ void miopen::ConvolutionContext::DetectRocm() use_binaries = !miopen::IsDisabled(MIOPEN_DEBUG_AMD_ROCM_PRECOMPILED_BINARIES{}); #endif } + + if(StartsWith(GetStream().GetDeviceName(), "gfx8")) + { + use_asm_kernels = false; + use_binaries = false; + } } diff --git a/src/solver/conv_asm_3x3u.cpp b/src/solver/conv_asm_3x3u.cpp index 5b2e622618..993b38971b 100644 --- a/src/solver/conv_asm_3x3u.cpp +++ b/src/solver/conv_asm_3x3u.cpp @@ -185,7 +185,7 @@ bool ConvAsm3x3U::IsApplicable(const ConvolutionContext& params) const return false; const std::string name = params.GetStream().GetDeviceName(); - if(name.find("gfx8") == std::string::npos && name.find("gfx9") == std::string::npos) + if(name.find("gfx9") == std::string::npos) { return false; } diff --git a/src/solver/conv_asm_dir_BwdWrW3x3.cpp b/src/solver/conv_asm_dir_BwdWrW3x3.cpp index b97b29eee4..ce86295949 100644 --- a/src/solver/conv_asm_dir_BwdWrW3x3.cpp +++ b/src/solver/conv_asm_dir_BwdWrW3x3.cpp @@ -343,7 +343,7 @@ bool ConvAsmBwdWrW3x3::IsApplicable(const ConvolutionContext& params) const return false; const std::string name = params.GetStream().GetDeviceName(); - if(name.find("gfx8") == std::string::npos && name.find("gfx9") == std::string::npos) + if(name.find("gfx9") == std::string::npos) { return false; }