2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2018-09-18 15:11:08 +08:00
|
|
|
* Copyright (C) 2017-2018 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"
|
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
struct HardwareInfo;
|
|
|
|
|
|
|
|
template <typename GfxFamily>
|
|
|
|
class DeviceCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily> {
|
|
|
|
typedef CommandStreamReceiverHw<GfxFamily> BaseClass;
|
|
|
|
|
|
|
|
protected:
|
2018-08-08 19:49:09 +08:00
|
|
|
DeviceCommandStreamReceiver(const HardwareInfo &hwInfoIn, ExecutionEnvironment &executionEnvironment)
|
|
|
|
: BaseClass(hwInfoIn, executionEnvironment) {
|
2017-12-21 07:45:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public:
|
2018-08-08 19:49:09 +08:00
|
|
|
static CommandStreamReceiver *create(const HardwareInfo &hwInfo, bool withAubDump, ExecutionEnvironment &executionEnvironment);
|
2017-12-21 07:45:38 +08:00
|
|
|
};
|
2018-06-13 03:54:39 +08:00
|
|
|
} // namespace OCLRT
|