mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Remove redundant parameter from getDevices functions
Change-Id: I3da50a69adb8ec64fd1d09021142b278e34c4cbe Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
819896bca2
commit
0f3730f5d9
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user