Skip to content

Commit 0ae1ac3

Browse files
stefan-iligcbot
authored andcommitted
Disable common kernel pattern matching on XE3
On XE3 we measure lower speeds with forced recompilation for common kernels.
1 parent 4dd7bf4 commit 0ae1ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/Compiler/CISACodeGen/MatchCommonKernelPatterns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bool MatchCommonKernelPatterns::runOnFunction(Function &F) {
3737
Ctx = getAnalysis<CodeGenContextWrapper>().getCodeGenContext();
3838

3939
// Check if F is part of interpreter pattern.
40-
if (IGC_IS_FLAG_ENABLED(EnableInterpreterPatternMatching))
40+
if (IGC_IS_FLAG_ENABLED(EnableInterpreterPatternMatching) && !Ctx->platform.isCoreXE3())
4141
if (isInterpreterPattern(F))
4242
Ctx->m_kernelsWithForcedRetry.push_back(&F);
4343

0 commit comments

Comments
 (0)