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:
Andrzej Swierczynski
2020-03-26 11:38:44 +01:00
committed by sys_ocldev
parent 0e87eb92c9
commit b36fb6c0bf
4 changed files with 3 additions and 13 deletions

View File

@@ -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);
};