-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Hi guys,
I am reporting this issue of block memory assignment being too small compared to the actual size needed. So I was adapting the harris app to run on vulkan on android. A memory error pops out. Upon closer look I narrowed down the issue. So the memory request is trying to assign a memory size of 15630480 byte. And then here it will round up the block size to be assigned to 15630496 bytes (this is round up to multiple of 32). Later on, when it is trying to check if the block can fit in the memory here , it rounds up the memory ( the actual_size) to 15630528 (this is round up to multiple of 64). And then actual asked memory size 15630528 > block size 15630496 and the memory assignment from block fail. I believe the root cause is due to these 2 use different conform functions rounding up to 32 and 64. I think the conform function should be aligned to use the same round up factor, either both 32 or both 64.