mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Move ownership of command stream receiver to execution environment.
Change-Id: Ibf924347e79f0c6e61141542c7e4c97c7a27e88d
This commit is contained in:
committed by
sys_ocldev
parent
403d5af7f0
commit
a126b290b8
@@ -24,12 +24,14 @@
|
||||
|
||||
namespace OCLRT {
|
||||
class GmmHelper;
|
||||
class CommandStreamReceiver;
|
||||
struct HardwareInfo;
|
||||
class ExecutionEnvironment : public ReferenceTrackedObject<ExecutionEnvironment> {
|
||||
public:
|
||||
ExecutionEnvironment();
|
||||
~ExecutionEnvironment() override;
|
||||
void initGmm(const HardwareInfo *hwInfo);
|
||||
std::unique_ptr<CommandStreamReceiver> commandStreamReceiver;
|
||||
|
||||
protected:
|
||||
std::unique_ptr<GmmHelper> gmmHelper;
|
||||
|
||||
Reference in New Issue
Block a user