Returns a rust [`pointer`] created from this pointer, meant for FFI purposes. The pointer is not dereferenceable from the CPU!
(&self)
| 47 | /// Returns a rust [`pointer`] created from this pointer, meant for FFI purposes. |
| 48 | /// **The pointer is not dereferenceable from the CPU!** |
| 49 | pub fn as_mut_ptr(&self) -> *mut T { |
| 50 | self.ptr as *mut T |
| 51 | } |
| 52 | |
| 53 | /// Returns the contained CUdeviceptr. |
| 54 | pub fn as_raw(&self) -> CUdeviceptr { |
no outgoing calls