Files
compute-runtime/unit_tests/mocks/mock_experimental_command_buffer.h
Mateusz Hoppe 0aedea1ae2 Move GTPin notifications out from CSR
Change-Id: I4209fc18017c694d71848c3fecd8c3d7440f151b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-02-21 10:08:11 +01:00

29 lines
683 B
C++

/*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "core/command_stream/experimental_command_buffer.h"
namespace NEO {
class MockExperimentalCommandBuffer : public ExperimentalCommandBuffer {
using BaseClass = ExperimentalCommandBuffer;
public:
using BaseClass::currentStream;
using BaseClass::experimentalAllocation;
using BaseClass::experimentalAllocationOffset;
using BaseClass::timestamps;
using BaseClass::timestampsOffset;
MockExperimentalCommandBuffer(CommandStreamReceiver *csr) : ExperimentalCommandBuffer(csr, 80.0) {
defaultPrint = false;
}
};
} // namespace NEO