1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Xuanteng Huang <xuanteng.huang@outlook.com>
Date: Sat, 25 May 2024 21:55:44 +0800
Subject: disable gcn asm kernels
As we exclude all ASM kernels from MIOpen, this patch modifies the MIOpen runtime config process
to prevent it from searching these ASM kernels when finding solution.
Forwarded: not-needed
---
src/execution_context.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/execution_context.cpp b/src/execution_context.cpp
index 9856295..bc5fadd 100644
--- a/src/execution_context.cpp
+++ b/src/execution_context.cpp
@@ -212,8 +212,6 @@ void miopen::ExecutionContext::DetectRocm()
rmv = rocm_meta_version::Default;
if(IsAmdRocmOpencl(*this))
{
- use_asm_kernels =
- !miopen::IsDisabled(MIOPEN_DEBUG_GCN_ASM_KERNELS{}) && ValidateGcnAssembler();
#ifndef HIP_OC_FINALIZER
use_binaries = !miopen::IsDisabled(MIOPEN_DEBUG_AMD_ROCM_PRECOMPILED_BINARIES{});
#endif
|