SWDEV-478097 - Check for parents size in case of VA Mem object.
Change-Id: Icfdeabeb178c0dcc8c3a4bc48eec40067985794e
[ROCm/clr commit: d7b097c994]
This commit is contained in:
committed by
Karthik Jayaprakash
parent
eac092348a
commit
2af78c954b
@@ -723,8 +723,6 @@ void HostBlitManager::FillBufferInfo::PackInfo(const device::Memory& memory, siz
|
||||
// 1. Validate input arguments
|
||||
guarantee(fill_size >= pattern_size, "Pattern Size: %u cannot be greater than fill size: %u \n",
|
||||
pattern_size, fill_size);
|
||||
guarantee(fill_size <= memory.size(), "Cannot fill: %u more than the mem object size:%u \n",
|
||||
fill_size, memory.size());
|
||||
|
||||
// 2. Calculate the next closest dword aligned address for faster processing
|
||||
size_t dst_addr = memory.virtualAddress() + fill_origin;
|
||||
|
||||
Reference in New Issue
Block a user