Remove redundant parameter from getDevices functions

Change-Id: I3da50a69adb8ec64fd1d09021142b278e34c4cbe
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-03-20 16:54:09 +01:00
committed by sys_ocldev
parent 819896bca2
commit 0f3730f5d9
16 changed files with 59 additions and 131 deletions

View File

@@ -86,8 +86,7 @@ TEST(ExecutionEnvironment, givenDeviceThatHaveRefferencesAfterPlatformIsDestroye
TEST(ExecutionEnvironment, givenPlatformWhenItIsCreatedThenItCreatesMemoryManagerInExecutionEnvironment) {
auto executionEnvironment = new ExecutionEnvironment();
Platform platform(*executionEnvironment);
size_t numRootDevices;
getDevices(numRootDevices, *executionEnvironment);
getDevices(*executionEnvironment);
platform.initialize(DeviceFactory::createDevices(*executionEnvironment));
EXPECT_NE(nullptr, executionEnvironment->memoryManager);
}