mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Change-Id: I8bcf2cb20f0e1e6b9da98b477f5be206407a7a57 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
/*
|
|
* Copyright (C) 2018-2019 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 {
|
|
protected:
|
|
using BaseCSR::osContext;
|
|
|
|
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 setupContext(OsContext &osContext) override;
|
|
|
|
CommandStreamReceiver *aubCSR = nullptr;
|
|
};
|
|
|
|
} // namespace OCLRT
|