mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Add option to disable zebin in ocloc
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5137b70658
commit
09bf464327
@@ -1170,6 +1170,7 @@ void OfflineCompiler::enforceFormat(std::string &format) {
|
||||
if (format == "zebin") {
|
||||
CompilerOptions::concatenateAppend(internalOptions, CompilerOptions::allowZebin);
|
||||
} else if (format == "patchtokens") {
|
||||
CompilerOptions::concatenateAppend(internalOptions, CompilerOptions::disableZebin);
|
||||
} else {
|
||||
argHelper->printf("Invalid format passed: %s. Ignoring.\n", format.c_str());
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ constexpr ConstStringRef uniformWorkgroupSize = "-cl-uniform-work-group-size";
|
||||
constexpr ConstStringRef forceEmuInt32DivRem = "-cl-intel-force-emu-int32divrem";
|
||||
constexpr ConstStringRef forceEmuInt32DivRemSP = "-cl-intel-force-emu-sp-int32divrem";
|
||||
constexpr ConstStringRef allowZebin = "-cl-intel-allow-zebin";
|
||||
constexpr ConstStringRef disableZebin = "-cl-intel-disable-zebin";
|
||||
constexpr ConstStringRef enableImageSupport = "-D__IMAGE_SUPPORT__=1";
|
||||
constexpr ConstStringRef optLevel = "-ze-opt-level=O";
|
||||
constexpr ConstStringRef excludeIrFromZebin = "-exclude-ir-from-zebin";
|
||||
|
||||
Reference in New Issue
Block a user