mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: I4209fc18017c694d71848c3fecd8c3d7440f151b Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
29 lines
683 B
C++
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
|