Skip to content

Commit

Permalink
Adding mock for IGC::TranslateImpl2
Browse files Browse the repository at this point in the history
Change-Id: I41507ade6391b62627bbb70082c101b2ef58ad14
  • Loading branch information
jchodor authored and Compute-Runtime-Automation committed Jun 7, 2018
1 parent d368996 commit c46f716
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions unit_tests/mocks/mock_compilers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,17 @@ OclTranslationOutputBase *CIF_GET_INTERFACE_CLASS(IgcOclTranslationCtx, 1)::Tran
return nullptr;
}

OclTranslationOutputBase *CIF_GET_INTERFACE_CLASS(IgcOclTranslationCtx, 2)::TranslateImpl(
CIF::Version_t outVersion,
CIF::Builtins::BufferSimple *src,
CIF::Builtins::BufferSimple *options,
CIF::Builtins::BufferSimple *internalOptions,
CIF::Builtins::BufferSimple *tracingOptions,
uint32_t tracingOptionsCount,
void *gtPinInput) {
return nullptr;
}

// OclTranslationOutput
OclTranslationOutput<0>::~OclTranslationOutput() {}

Expand Down

0 comments on commit c46f716

Please sign in to comment.