mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Pass flag to IGC to allow zebin in L0
Change-Id: I8793c4e58966a5527b1d1f37bf0b54f03bf1f976
This commit is contained in:
committed by
sys_ocldev
parent
bfb1dc62b7
commit
e16f430ecc
@@ -67,7 +67,7 @@ bool ModuleTranslationUnit::buildFromSpirV(const char *input, uint32_t inputSize
|
||||
UNRECOVERABLE_IF((nullptr == device) || (nullptr == device->getNEODevice()));
|
||||
|
||||
std::string options = buildOptions;
|
||||
std::string internalOptions = NEO::CompilerOptions::concatenate(internalBuildOptions, NEO::CompilerOptions::hasBufferOffsetArg);
|
||||
std::string internalOptions = NEO::CompilerOptions::concatenate(internalBuildOptions, NEO::CompilerOptions::hasBufferOffsetArg, NEO::CompilerOptions::allowZebin);
|
||||
|
||||
if (device->getNEODevice()->getDeviceInfo().debuggerActive) {
|
||||
if (device->getSourceLevelDebugger()->isOptimizationDisabled()) {
|
||||
|
||||
@@ -31,6 +31,7 @@ static constexpr ConstStringRef bindlessImages = "-cl-intel-use-bindless-images"
|
||||
static constexpr ConstStringRef uniformWorkgroupSize = "-cl-uniform-work-group-size";
|
||||
static constexpr ConstStringRef forceEmuInt32DivRem = "-cl-intel-force-emu-int32divrem";
|
||||
static constexpr ConstStringRef forceEmuInt32DivRemSP = "-cl-intel-force-emu-sp-int32divrem";
|
||||
static constexpr ConstStringRef allowZebin = "-allow-zebin";
|
||||
|
||||
constexpr size_t nullterminateSize = 1U;
|
||||
constexpr size_t spaceSeparatorSize = 1U;
|
||||
|
||||
Reference in New Issue
Block a user