mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53: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
@@ -114,13 +114,14 @@ class MockCompilerInterface : public CompilerInterface {
|
||||
return this->fclBaseTranslationCtx.get();
|
||||
}
|
||||
|
||||
TranslationOutput::ErrorCode getSipKernelBinary(NEO::Device &device, SipKernelType type, std::vector<char> &retBinary) override {
|
||||
TranslationOutput::ErrorCode getSipKernelBinary(NEO::Device &device, SipKernelType type, std::vector<char> &retBinary,
|
||||
std::vector<char> &stateAreaHeader) override {
|
||||
if (this->sipKernelBinaryOverride.size() > 0) {
|
||||
retBinary = this->sipKernelBinaryOverride;
|
||||
this->requestedSipKernel = type;
|
||||
return TranslationOutput::ErrorCode::Success;
|
||||
} else {
|
||||
return CompilerInterface::getSipKernelBinary(device, type, retBinary);
|
||||
return CompilerInterface::getSipKernelBinary(device, type, retBinary, stateAreaHeader);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user