mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add new IGC mocks for new interface
Signed-off-by: DmitryBushev <dmitry.bushev@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
fe93ce83c8
commit
f0003c1da6
@ -137,6 +137,11 @@ bool CIF_GET_INTERFACE_CLASS(IgcOclDeviceCtx, 2)::GetSystemRoutine(IGC::SystemRo
|
||||
CIF::Builtins::BufferSimple *stateSaveAreaHeaderInit) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const char *CIF_GET_INTERFACE_CLASS(IgcOclDeviceCtx, 3)::GetIGCRevision() {
|
||||
return "";
|
||||
}
|
||||
|
||||
// Platform stubs
|
||||
Platform<0>::~Platform() {}
|
||||
|
||||
|
@ -185,7 +185,7 @@ struct MockOclTranslationOutput : MockCIF<IGC::OclTranslationOutputTagOCL> {
|
||||
MockCIFBuffer *debugData = nullptr;
|
||||
};
|
||||
|
||||
struct MockIgcOclDeviceCtx : MockCIF<IGC::IgcOclDeviceCtx<2>> {
|
||||
struct MockIgcOclDeviceCtx : MockCIF<IGC::IgcOclDeviceCtxTagOCL> {
|
||||
static CIF::ICIF *Create(CIF::InterfaceId_t intId, CIF::Version_t version);
|
||||
|
||||
MockIgcOclDeviceCtx();
|
||||
|
Reference in New Issue
Block a user