33 lines
1.0 KiB
C++
33 lines
1.0 KiB
C++
/*
|
|
* Copyright (C) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/command_stream/command_stream_receiver.h"
|
|
|
|
namespace OCLRT {
|
|
|
|
template <typename BaseCSR>
|
|
class CommandStreamReceiverWithAUBDump : public BaseCSR {
|
|
public:
|
|
using BaseCSR::createMemoryManager;
|
|
CommandStreamReceiverWithAUBDump(const HardwareInfo &hwInfoIn, ExecutionEnvironment &executionEnvironment);
|
|
~CommandStreamReceiverWithAUBDump() override;
|
|
|
|
CommandStreamReceiverWithAUBDump(const CommandStreamReceiverWithAUBDump &) = delete;
|
|
CommandStreamReceiverWithAUBDump &operator=(const CommandStreamReceiverWithAUBDump &) = delete;
|
|
|
|
FlushStamp flush(BatchBuffer &batchBuffer, ResidencyContainer &allocationsForResidency) override;
|
|
void makeNonResident(GraphicsAllocation &gfxAllocation) override;
|
|
|
|
void activateAubSubCapture(const MultiDispatchInfo &dispatchInfo) override;
|
|
void setOsContext(OsContext &osContext) override;
|
|
|
|
CommandStreamReceiver *aubCSR = nullptr;
|
|
};
|
|
|
|
} // namespace OCLRT
|