Skip to content

Commit ed2d331

Browse files
Adding mocks for IgcOclTranslationCtx 3
Related-To: NEO-2260 Change-Id: I1bee967485e0a9f949d541dc0242e2979ac18b38 Signed-off-by: Jobczyk, Lukasz <[email protected]>
1 parent 016cfea commit ed2d331

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

unit_tests/mocks/mock_compilers.cpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,26 @@ OclTranslationOutputBase *CIF_GET_INTERFACE_CLASS(IgcOclTranslationCtx, 2)::Tran
251251
return nullptr;
252252
}
253253

254+
bool CIF_GET_INTERFACE_CLASS(IgcOclTranslationCtx, 3)::GetSpecConstantsInfoImpl(
255+
CIF::Builtins::BufferSimple *src,
256+
CIF::Builtins::BufferSimple *outSpecConstantsIds,
257+
CIF::Builtins::BufferSimple *outSpecConstantsSizes) {
258+
return true;
259+
}
260+
261+
OclTranslationOutputBase *CIF_GET_INTERFACE_CLASS(IgcOclTranslationCtx, 3)::TranslateImpl(
262+
CIF::Version_t outVersion,
263+
CIF::Builtins::BufferSimple *src,
264+
CIF::Builtins::BufferSimple *specConstantsIds,
265+
CIF::Builtins::BufferSimple *specConstantsValues,
266+
CIF::Builtins::BufferSimple *options,
267+
CIF::Builtins::BufferSimple *internalOptions,
268+
CIF::Builtins::BufferSimple *tracingOptions,
269+
uint32_t tracingOptionsCount,
270+
void *gtPinInput) {
271+
return nullptr;
272+
}
273+
254274
// OclTranslationOutput
255275
OclTranslationOutput<0>::~OclTranslationOutput() {}
256276

0 commit comments

Comments
 (0)