GPUPeople / Ouroboros

GPU MemoryManager based on virtualized queues
MIT License
19 stars 4 forks source link

Chunk-Queue Re-Use #5

Open delanyinspiron6400 opened 4 years ago

delanyinspiron6400 commented 4 years ago

Allow for chunk re-use for the chunk queue, implement as:

Introduced qeue position for Chunk, such that free can locate it.

Problem:

delanyinspiron6400 commented 3 years ago

Everything works as long as we do not re-use the now empty chunk, we can try reduce the semaphore, flush the chunk and take it out of the queue, but as soon as we add it to the reuse queue, something goes wrong in the next iteration. Look at while loop in , probably hangs in there?