Files
compute-runtime/opencl/test/unit_test/mocks/mock_sip.h
Jablonski, Mateusz 0884a341c8 Add missing override keywords
Change-Id: I30c82d2b0007d745d54c3bbc160e17b420193f3b
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-03-13 11:20:15 +01:00

41 lines
916 B
C++

/*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/built_ins/sip.h"
#include "opencl/test/unit_test/mocks/mock_execution_environment.h"
#include <memory>
#include <vector>
namespace NEO {
class MemoryAllocation;
class MockSipKernel : public SipKernel {
public:
using SipKernel::program;
using SipKernel::type;
MockSipKernel(SipKernelType type, Program *sipProgram);
MockSipKernel();
~MockSipKernel() override;
static std::vector<char> dummyBinaryForSip;
static std::vector<char> getDummyGenBinary();
static std::vector<char> getBinary();
static void initDummyBinary();
static void shutDown();
GraphicsAllocation *getSipAllocation() const override;
std::unique_ptr<MemoryAllocation> mockSipMemoryAllocation;
MockExecutionEnvironment executionEnvironment;
};
} // namespace NEO