Open bbvrpz10k opened 4 years ago
Sorry, I've just seen your Issue now. For now, one memory pool per type is created with a global divisor on the total. Now that I've tested dynamic allocations on fixed memory size, I should provide a smarter pool constructor, that expand size when needed. To achieve that, I have to clearly identify what have to be reinitialized after memory moves. Also vulkan introduce movable memories (I've not yet tested that). I'll come back to you when I'll have time to work on this, don't hesitate to propose pull requests to improve mem pools. the interesting code with the divisor is here
When MEMORY_POOLS is true RAM is reserved by the straps and the program stops erorr System.InvalidOperationException: 'Call failed: ErrorOutOfDeviceMemory' in