Skip to content

Commit 4324b01

Browse files
ULT renaming: Unified Memory Manager tests
Related-To: NEO-2236 Change-Id: Iebc70e8b66875f38bc2ffb5e65b540e1b51325cc Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
1 parent e1cfa1e commit 4324b01

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

opencl/test/unit_test/memory_manager/unified_memory_manager_tests.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ TEST_F(SVMMemoryAllocatorTest, givenSharedAllocationsDebugFlagWhenDeviceMemoryIs
377377

378378
svmManager->freeSVMAlloc(ptr);
379379
}
380+
380381
TEST(SvmAllocationPropertiesTests, givenDifferentMemFlagsWhenGettingSvmAllocationPropertiesThenPropertiesAreCorrectlySet) {
381382
SVMAllocsManager::SvmAllocationProperties allocationProperties = MemObjHelper::getSvmAllocationProperties(0);
382383
EXPECT_FALSE(allocationProperties.coherent);
@@ -614,7 +615,7 @@ TEST_F(ShareableUnifiedMemoryManagerPropertiesTest, givenShareableUnifiedPropert
614615
svmManager->freeSVMAlloc(ptr);
615616
}
616617

617-
TEST(UnfiedSharedMemoryTransferCalls, givenHostUSMllocationWhenPointerIsUsedForTransferCallsThenUSMAllocationIsReused) {
618+
TEST(UnfiedSharedMemoryTransferCalls, givenHostUsmAllocationWhenPointerIsUsedForTransferCallsThenUSMAllocationIsReused) {
618619
MockContext mockContext;
619620
cl_context clContext = &mockContext;
620621

@@ -653,6 +654,7 @@ TEST(UnfiedSharedMemoryTransferCalls, givenHostUSMllocationWhenPointerIsUsedForT
653654
ASSERT_EQ(CL_SUCCESS, status);
654655
clReleaseCommandQueue(commandQueue);
655656
}
657+
656658
TEST(UnfiedSharedMemoryTransferCalls, givenDeviceUsmAllocationWhenPtrIsUsedForTransferCallsThenUsmAllocationIsReused) {
657659
MockContext mockContext;
658660
cl_context clContext = &mockContext;
@@ -806,7 +808,7 @@ TEST(UnfiedSharedMemoryTransferCalls, givenHostAllocationThatIsSmallerThenTransf
806808
clReleaseCommandQueue(commandQueue);
807809
}
808810

809-
TEST(UnfiedSharedMemoryTransferCalls, givenSharedUSMllocationWithoutLocalMemoryWhenPointerIsUsedAsTranfserParameterThenUSMAllocationIsReused) {
811+
TEST(UnfiedSharedMemoryTransferCalls, givenSharedUsmAllocationWithoutLocalMemoryWhenPointerIsUsedAsTranfserParameterThenUSMAllocationIsReused) {
810812
DebugManagerStateRestore restore;
811813
DebugManager.flags.EnableLocalMemory.set(0);
812814

@@ -848,7 +850,7 @@ TEST(UnfiedSharedMemoryTransferCalls, givenSharedUSMllocationWithoutLocalMemoryW
848850
clReleaseCommandQueue(commandQueue);
849851
}
850852

851-
TEST(UnfiedSharedMemoryTransferCalls, givenSharedUSMllocationWithLocalMemoryWhenPointerIsUsedAsTransferParameterThenUSMAllocationIsReused) {
853+
TEST(UnfiedSharedMemoryTransferCalls, givenSharedUsmAllocationWithLocalMemoryWhenPointerIsUsedAsTransferParameterThenUSMAllocationIsReused) {
852854
DebugManagerStateRestore restore;
853855
DebugManager.flags.EnableLocalMemory.set(1);
854856

0 commit comments

Comments
 (0)