mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Debug flag support to override revisionId in ocloc
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f02bd9f58c
commit
537200dac5
@@ -674,6 +674,10 @@ int OfflineCompiler::parseCommandLine(size_t numArgs, const std::vector<std::str
|
||||
}
|
||||
}
|
||||
|
||||
if (DebugManager.flags.OverrideRevision.get() != -1) {
|
||||
revisionId = static_cast<unsigned short>(DebugManager.flags.OverrideRevision.get());
|
||||
}
|
||||
|
||||
if (retVal == SUCCESS) {
|
||||
if (compile32 && compile64) {
|
||||
argHelper->printf("Error: Cannot compile for 32-bit and 64-bit, please choose one.\n");
|
||||
|
||||
Reference in New Issue
Block a user