Use a pool for host allocations, and make "Managed" if managed memory is turned on
mrnorman opened this issue · 1 comments
mrnorman commented
Use a pool for host allocations, and make "Managed" if managed memory is turned on
mrnorman commented
I don't think this is ultimately a good idea. One of the benefits of having a memHost
space is that you can wrap any arbitrary class by allocating with the new
keyword. To use a pool, I'd have to use placement new, which has potential issues with classes with alignment requirements. I'm not sure I want to open up that can of worms, at least not for now.