Skip to content

Commit 56c7b7d

Browse files
Konstantin Vladimirovigcbot
authored andcommitted
Add enable preemption to finalizer flags
1 parent 2d360ca commit 56c7b7d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

IGC/VectorCompiler/lib/GenXCodeGen/GenXCisaBuilder.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6272,6 +6272,10 @@ collectFinalizerArgs(StringSaver &Saver, const GenXSubtarget &ST,
62726272
Argv.push_back(Saver.save(Arg).data());
62736273
};
62746274

6275+
// enable preemption if we have SKL+
6276+
if (ST.getVisaPlatform() >= TARGET_PLATFORM::GENX_SKL)
6277+
addArgument("-enablePreemption");
6278+
62756279
addArgument("-dumpvisa");
62766280
for (const auto &Fos : FinalizerOpts)
62776281
cl::TokenizeGNUCommandLine(Fos, Saver, Argv);

0 commit comments

Comments
 (0)