mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add helper function to enable stateless compression
Related-To: NEO-5107 Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
d99f20d400
commit
eb14d8458b
@ -443,6 +443,7 @@ TEST_F(KernelArgBufferTest, givenKernelExecInfoWithIndirectStatelessAccessWhenHa
|
||||
EXPECT_FALSE(mockKernel.hasIndirectStatelessAccessToHostMemory());
|
||||
|
||||
auto deviceProperties = SVMAllocsManager::UnifiedMemoryProperties(InternalMemoryType::DEVICE_UNIFIED_MEMORY, mockKernel.getContext().getRootDeviceIndices(), mockKernel.getContext().getDeviceBitfields());
|
||||
deviceProperties.device = &pClDevice->getDevice();
|
||||
auto unifiedDeviceMemoryAllocation = svmAllocationsManager->createUnifiedMemoryAllocation(4096u, deviceProperties);
|
||||
EXPECT_FALSE(mockKernel.hasIndirectStatelessAccessToHostMemory());
|
||||
|
||||
|
Reference in New Issue
Block a user