Returns the contained CUdeviceptr.
(&self)
| 52 | |
| 53 | /// Returns the contained CUdeviceptr. |
| 54 | pub fn as_raw(&self) -> CUdeviceptr { |
| 55 | self.ptr |
| 56 | } |
| 57 | |
| 58 | /// Create a DevicePointer from a raw CUDA pointer |
| 59 | pub fn from_raw(ptr: CUdeviceptr) -> Self { |
no outgoing calls
no test coverage detected