Skip to content

Commit c46f716

Browse files
jchodorCompute-Runtime-Automation
authored andcommitted
Adding mock for IGC::TranslateImpl2
Change-Id: I41507ade6391b62627bbb70082c101b2ef58ad14
1 parent d368996 commit c46f716

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

unit_tests/mocks/mock_compilers.cpp

+11
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,17 @@ OclTranslationOutputBase *CIF_GET_INTERFACE_CLASS(IgcOclTranslationCtx, 1)::Tran
256256
return nullptr;
257257
}
258258

259+
OclTranslationOutputBase *CIF_GET_INTERFACE_CLASS(IgcOclTranslationCtx, 2)::TranslateImpl(
260+
CIF::Version_t outVersion,
261+
CIF::Builtins::BufferSimple *src,
262+
CIF::Builtins::BufferSimple *options,
263+
CIF::Builtins::BufferSimple *internalOptions,
264+
CIF::Builtins::BufferSimple *tracingOptions,
265+
uint32_t tracingOptionsCount,
266+
void *gtPinInput) {
267+
return nullptr;
268+
}
269+
259270
// OclTranslationOutput
260271
OclTranslationOutput<0>::~OclTranslationOutput() {}
261272

0 commit comments

Comments
 (0)