From ed2d3318dfd0e78dac44ee1903cfad931e04e48b Mon Sep 17 00:00:00 2001 From: "Jobczyk, Lukasz" Date: Tue, 30 Apr 2019 09:40:50 +0200 Subject: [PATCH] Adding mocks for IgcOclTranslationCtx 3 Related-To: NEO-2260 Change-Id: I1bee967485e0a9f949d541dc0242e2979ac18b38 Signed-off-by: Jobczyk, Lukasz --- unit_tests/mocks/mock_compilers.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/unit_tests/mocks/mock_compilers.cpp b/unit_tests/mocks/mock_compilers.cpp index dc86440472..f51c1fa57c 100644 --- a/unit_tests/mocks/mock_compilers.cpp +++ b/unit_tests/mocks/mock_compilers.cpp @@ -251,6 +251,26 @@ OclTranslationOutputBase *CIF_GET_INTERFACE_CLASS(IgcOclTranslationCtx, 2)::Tran return nullptr; } +bool CIF_GET_INTERFACE_CLASS(IgcOclTranslationCtx, 3)::GetSpecConstantsInfoImpl( + CIF::Builtins::BufferSimple *src, + CIF::Builtins::BufferSimple *outSpecConstantsIds, + CIF::Builtins::BufferSimple *outSpecConstantsSizes) { + return true; +} + +OclTranslationOutputBase *CIF_GET_INTERFACE_CLASS(IgcOclTranslationCtx, 3)::TranslateImpl( + CIF::Version_t outVersion, + CIF::Builtins::BufferSimple *src, + CIF::Builtins::BufferSimple *specConstantsIds, + CIF::Builtins::BufferSimple *specConstantsValues, + CIF::Builtins::BufferSimple *options, + CIF::Builtins::BufferSimple *internalOptions, + CIF::Builtins::BufferSimple *tracingOptions, + uint32_t tracingOptionsCount, + void *gtPinInput) { + return nullptr; +} + // OclTranslationOutput OclTranslationOutput<0>::~OclTranslationOutput() {}