2018-01-19 17:00:51 +08:00
|
|
|
/*
|
2018-09-18 15:11:08 +08:00
|
|
|
* Copyright (C) 2018 Intel Corporation
|
2018-01-19 17:00:51 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-01-19 17:00:51 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "runtime/command_stream/command_stream_receiver.h"
|
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
|
|
|
|
template <typename BaseCSR>
|
|
|
|
class CommandStreamReceiverWithAUBDump : public BaseCSR {
|
|
|
|
public:
|
2018-10-11 17:19:49 +08:00
|
|
|
using BaseCSR::createMemoryManager;
|
2018-08-08 19:49:09 +08:00
|
|
|
CommandStreamReceiverWithAUBDump(const HardwareInfo &hwInfoIn, ExecutionEnvironment &executionEnvironment);
|
2018-01-19 17:00:51 +08:00
|
|
|
~CommandStreamReceiverWithAUBDump() override;
|
|
|
|
|
|
|
|
CommandStreamReceiverWithAUBDump(const CommandStreamReceiverWithAUBDump &) = delete;
|
|
|
|
CommandStreamReceiverWithAUBDump &operator=(const CommandStreamReceiverWithAUBDump &) = delete;
|
|
|
|
|
2018-09-25 18:38:00 +08:00
|
|
|
FlushStamp flush(BatchBuffer &batchBuffer, EngineType engineOrdinal, ResidencyContainer &allocationsForResidency, OsContext &osContext) override;
|
2018-09-28 01:55:09 +08:00
|
|
|
void makeNonResident(GraphicsAllocation &gfxAllocation) override;
|
2018-01-19 17:00:51 +08:00
|
|
|
|
2018-06-13 02:33:03 +08:00
|
|
|
void activateAubSubCapture(const MultiDispatchInfo &dispatchInfo) override;
|
|
|
|
|
2018-01-19 17:00:51 +08:00
|
|
|
CommandStreamReceiver *aubCSR = nullptr;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace OCLRT
|