mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Remove peekGmmHelper() and peekGmmClientContext() from platform
Related-To: NEO-4207 Change-Id: Id4caec45b24ae5c7790f283b0cbf78c17e60d74e Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
0e87eb92c9
commit
b36fb6c0bf
@@ -219,14 +219,6 @@ std::unique_ptr<AsyncEventsHandler> Platform::setAsyncEventsHandler(std::unique_
|
||||
return handler;
|
||||
}
|
||||
|
||||
GmmHelper *Platform::peekGmmHelper() const {
|
||||
return executionEnvironment.rootDeviceEnvironments[0]->getGmmHelper();
|
||||
}
|
||||
|
||||
GmmClientContext *Platform::peekGmmClientContext() const {
|
||||
return peekGmmHelper()->getClientContext();
|
||||
}
|
||||
|
||||
std::unique_ptr<Platform> (*Platform::createFunc)(ExecutionEnvironment &) = [](ExecutionEnvironment &executionEnvironment) -> std::unique_ptr<Platform> {
|
||||
return std::make_unique<Platform>(executionEnvironment);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user