You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my understanding is: this while loop is to make previous iterator point to the last block and current iterator point to end of block container then we can create a new block after the last block and insert to end of block container.
but why we need below "if"?
i think this would lead to create a new block between previous and current block, seems not make sense....
hello, i am learning the code of gpu memory pool and felt confusing for below code:
ppl.cv/src/ppl/cv/cuda/utility/memory_pool.cpp
Line 105 in 6f65a8d
my understanding is: this while loop is to make previous iterator point to the last block and current iterator point to end of block container then we can create a new block after the last block and insert to end of block container.
but why we need below "if"?
i think this would lead to create a new block between previous and current block, seems not make sense....
maybe i missed some logic, please correct me, thank you in advance.
The text was updated successfully, but these errors were encountered: