Closed csbnw closed 4 months ago
Is your feature request related to a problem? Please describe. I would like to make a view of a cu::DeviceMemory object at some offset.
cu::DeviceMemory
Describe the solution you'd like Add a cu::DeviceMemory constructor that accepts both another cu::DeviceMemory& other, size_t offset, and size_t size.
cu::DeviceMemory& other
size_t offset
size_t size
Describe alternatives you've considered Do this manually, using static_cast<CUdeviceptr> etc.
static_cast<CUdeviceptr>
Additional context N.A.
Added in #293
Is your feature request related to a problem? Please describe. I would like to make a view of a
cu::DeviceMemory
object at some offset.Describe the solution you'd like Add a
cu::DeviceMemory
constructor that accepts both anothercu::DeviceMemory& other
,size_t offset
, andsize_t size
.Describe alternatives you've considered Do this manually, using
static_cast<CUdeviceptr>
etc.Additional context N.A.