mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Retrieve state save area header from IGC
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
d2b6d7f241
commit
e35ffb0601
@ -494,13 +494,15 @@ bool MockIgcOclDeviceCtx::GetSystemRoutine(IGC::SystemRoutineType::SystemRoutine
|
||||
debugVars.typeOfSystemRoutine = typeOfSystemRoutine;
|
||||
debugVars.receivedSipAddressingType = bindless ? MockCompilerDebugVars::SipAddressingType::bindless : MockCompilerDebugVars::SipAddressingType::bindful;
|
||||
|
||||
const char mockData[64] = {'C', 'T', 'N', 'I'};
|
||||
const char mockData1[64] = {'C', 'T', 'N', 'I'};
|
||||
const char mockData2[64] = {'S', 'S', 'A', 'H'};
|
||||
|
||||
if (debugVars.forceBuildFailure || typeOfSystemRoutine == IGC::SystemRoutineType::undefined) {
|
||||
return false;
|
||||
}
|
||||
|
||||
outSystemRoutineBuffer->PushBackRawBytes(mockData, 64);
|
||||
outSystemRoutineBuffer->PushBackRawBytes(mockData1, 64);
|
||||
stateSaveAreaHeaderInit->PushBackRawBytes(mockData2, 64);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user