Closed eyalroz closed 6 months ago
Right now, we don't accept cuda::memory::make_unique<T>, nor cuda::memory::make_unique_region - you have to use a subnamespace - one of device::, host:: or managed::. But - if you say:
cuda::memory::make_unique<T>
cuda::memory::make_unique_region
device::
host::
managed::
cuda::memory::make_unique_region(my_device, 1234);
it's pretty obvious you want plain vanilla device-side memory. So, let's accept that.
Right now, we don't accept
cuda::memory::make_unique<T>
, norcuda::memory::make_unique_region
- you have to use a subnamespace - one ofdevice::
,host::
ormanaged::
. But - if you say:it's pretty obvious you want plain vanilla device-side memory. So, let's accept that.