mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Refactor parts of createDeviceImpl.
- Move portions of code to dedicated methods. Change-Id: I9abec23785f3f3201dce42a7a840ca4a450c4cc1
This commit is contained in:
committed by
sys_ocldev
parent
8a69656446
commit
f59c191915
@@ -39,6 +39,8 @@ class ExecutionEnvironment : public ReferenceTrackedObject<ExecutionEnvironment>
|
||||
ExecutionEnvironment();
|
||||
~ExecutionEnvironment() override;
|
||||
void initGmm(const HardwareInfo *hwInfo);
|
||||
bool initializeCommandStreamReceiver(const HardwareInfo *pHwInfo);
|
||||
void initializeMemoryManager(MemoryManager *externalMemoryManager, bool enable64KBpages);
|
||||
std::unique_ptr<MemoryManager> memoryManager;
|
||||
std::unique_ptr<CommandStreamReceiver> commandStreamReceiver;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user