coreylowman / cudarc

Safe rust wrapper around CUDA toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Give access to underlying device from CudaSlice

coreylowman opened this issue · comments

Related to #122

When creating CudaSlice from CUdeviceptr, we might have another CudaSlice instead of a CudaDevice. Should be able to reuse the device from the slice.