mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
- remove hwInfo from the csr functions where it was passed as a parameter, now csr functions have access to hwInfo by Execution Environment Change-Id: I756ae63d9728c9c963571147bab97f9e1c15797b Signed-off-by: Adam Stefanowski <adam.stefanowski@intel.com>
26 lines
634 B
C++
26 lines
634 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/command_stream/command_stream_receiver_hw.h"
|
|
|
|
namespace OCLRT {
|
|
|
|
template <typename GfxFamily>
|
|
class DeviceCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily> {
|
|
typedef CommandStreamReceiverHw<GfxFamily> BaseClass;
|
|
|
|
protected:
|
|
DeviceCommandStreamReceiver(ExecutionEnvironment &executionEnvironment)
|
|
: BaseClass(executionEnvironment) {
|
|
}
|
|
|
|
public:
|
|
static CommandStreamReceiver *create(bool withAubDump, ExecutionEnvironment &executionEnvironment);
|
|
};
|
|
} // namespace OCLRT
|