2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2019-02-27 17:06:14 +08:00
|
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "runtime/command_stream/command_stream_receiver_hw.h"
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
template <typename GfxFamily>
|
|
|
|
class DeviceCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily> {
|
|
|
|
typedef CommandStreamReceiverHw<GfxFamily> BaseClass;
|
|
|
|
|
|
|
|
protected:
|
2019-02-27 17:06:14 +08:00
|
|
|
DeviceCommandStreamReceiver(ExecutionEnvironment &executionEnvironment)
|
|
|
|
: BaseClass(executionEnvironment) {
|
2017-12-21 07:45:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public:
|
2019-02-27 17:06:14 +08:00
|
|
|
static CommandStreamReceiver *create(bool withAubDump, ExecutionEnvironment &executionEnvironment);
|
2017-12-21 07:45:38 +08:00
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|