@@ -46,13 +46,13 @@ PTLTEST_F(PtlProductHelper, givenProductHelperWhenCheckDirectSubmissionSupported
46
46
EXPECT_TRUE (productHelper->isDirectSubmissionSupported (releaseHelper));
47
47
}
48
48
49
- PTLTEST_F (PtlProductHelper, givenProductHelperWhenCheckOverrideAllocationCacheableThenTrueIsReturnedForCommandBuffer ) {
49
+ PTLTEST_F (PtlProductHelper, givenProductHelperWhenCheckoverrideAllocationCpuCacheableThenTrueIsReturnedForCommandBuffer ) {
50
50
AllocationData allocationData{};
51
51
allocationData.type = AllocationType::commandBuffer;
52
- EXPECT_TRUE (productHelper->overrideAllocationCacheable (allocationData));
52
+ EXPECT_TRUE (productHelper->overrideAllocationCpuCacheable (allocationData));
53
53
54
54
allocationData.type = AllocationType::buffer;
55
- EXPECT_FALSE (productHelper->overrideAllocationCacheable (allocationData));
55
+ EXPECT_FALSE (productHelper->overrideAllocationCpuCacheable (allocationData));
56
56
}
57
57
58
58
PTLTEST_F (PtlProductHelper, givenExternalHostPtrWhenMitigateDcFlushThenOverrideCacheable) {
@@ -61,7 +61,7 @@ PTLTEST_F(PtlProductHelper, givenExternalHostPtrWhenMitigateDcFlushThenOverrideC
61
61
62
62
AllocationData allocationData{};
63
63
allocationData.type = AllocationType::externalHostPtr;
64
- EXPECT_FALSE (productHelper->overrideAllocationCacheable (allocationData));
64
+ EXPECT_FALSE (productHelper->overrideAllocationCpuCacheable (allocationData));
65
65
66
66
debugManager.flags .AllowDcFlush .set (0 );
67
67
@@ -70,7 +70,8 @@ PTLTEST_F(PtlProductHelper, givenExternalHostPtrWhenMitigateDcFlushThenOverrideC
70
70
allocationData.type = allocationType;
71
71
switch (allocationData.type ) {
72
72
case AllocationType::commandBuffer:
73
- EXPECT_TRUE (productHelper->overrideAllocationCacheable (allocationData));
73
+ case AllocationType::timestampPacketTagBuffer:
74
+ EXPECT_TRUE (productHelper->overrideAllocationCpuCacheable (allocationData));
74
75
break ;
75
76
case AllocationType::externalHostPtr:
76
77
case AllocationType::bufferHostMemory:
@@ -79,11 +80,11 @@ PTLTEST_F(PtlProductHelper, givenExternalHostPtrWhenMitigateDcFlushThenOverrideC
79
80
case AllocationType::svmZeroCopy:
80
81
case AllocationType::internalHostMemory:
81
82
case AllocationType::printfSurface:
82
- EXPECT_TRUE (productHelper->overrideAllocationCacheable (allocationData));
83
+ EXPECT_TRUE (productHelper->overrideAllocationCpuCacheable (allocationData));
83
84
EXPECT_TRUE (productHelper->overrideCacheableForDcFlushMitigation (allocationData.type ));
84
85
break ;
85
86
default :
86
- EXPECT_FALSE (productHelper->overrideAllocationCacheable (allocationData));
87
+ EXPECT_FALSE (productHelper->overrideAllocationCpuCacheable (allocationData));
87
88
EXPECT_FALSE (productHelper->overrideCacheableForDcFlushMitigation (allocationData.type ));
88
89
break ;
89
90
}
0 commit comments