mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Move memory manager ownership to execution environment.
Change-Id: Ib743b04139a6572da65eeffa6cd3e13db4bd9098
This commit is contained in:
committed by
sys_ocldev
parent
0c094c05e5
commit
7735fb5767
@@ -76,4 +76,11 @@ TEST(ExecutionEnvironment, givenPlatformWhenItIsCreatedThenItCreatesCommandStrea
|
||||
auto executionEnvironment = platform.peekExecutionEnvironment();
|
||||
platform.initialize();
|
||||
EXPECT_NE(nullptr, executionEnvironment->commandStreamReceiver);
|
||||
}
|
||||
|
||||
TEST(ExecutionEnvironment, givenPlatformWhenItIsCreatedThenItCreatesMemoryManagerInExecutionEnvironment) {
|
||||
Platform platform;
|
||||
auto executionEnvironment = platform.peekExecutionEnvironment();
|
||||
platform.initialize();
|
||||
EXPECT_NE(nullptr, executionEnvironment->memoryManager);
|
||||
}
|
||||
Reference in New Issue
Block a user