LvArray icon indicating copy to clipboard operation
LvArray copied to clipboard

Feature/add freeOnDevice() method

Open XL64 opened this issue 1 year ago • 2 comments

Add freeOnDevice() method to allow freeing memory from GPU before the object destruction. This method is useful to remove temporary working data from GPU space, freeing GPU memory. Add logger using callback for free/allocate when activated.

XL64 avatar Jul 24 '23 12:07 XL64

@wrtobin Are you ok with this in its current form?

rrsettgast avatar Apr 25 '24 14:04 rrsettgast

@corbett5 Randy and I discussed that particular point and IIRC we decided it wasn't a necessary restriction. My concern was primarily preventing users from erroneously de- and re-allocating on device and losing performance as a result.

wrtobin avatar Apr 25 '24 17:04 wrtobin

@wrtobin @corbett5 Can you approve this?

rrsettgast avatar Jun 20 '24 14:06 rrsettgast