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

Related-To: NEO-5225 Change-Id: I8cf0aef3ec16314cfb1a787852b6c20ce0f65955 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
26 lines
783 B
C++
26 lines
783 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/command_stream/command_stream_receiver_hw.h"
|
|
|
|
namespace NEO {
|
|
|
|
template <typename GfxFamily>
|
|
class DeviceCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily> {
|
|
typedef CommandStreamReceiverHw<GfxFamily> BaseClass;
|
|
|
|
protected:
|
|
DeviceCommandStreamReceiver(ExecutionEnvironment &executionEnvironment, uint32_t rootDeviceIndex, DeviceBitfield deviceBitfield)
|
|
: BaseClass(executionEnvironment, rootDeviceIndex, deviceBitfield) {
|
|
}
|
|
|
|
public:
|
|
static CommandStreamReceiver *create(bool withAubDump, ExecutionEnvironment &executionEnvironment, uint32_t rootDeviceIndex, DeviceBitfield deviceBitfield);
|
|
};
|
|
} // namespace NEO
|