(&self)
| 155 | |
| 156 | impl<T: DeviceCopy> DeviceMemory for DeviceBox<T> { |
| 157 | fn as_raw_ptr(&self) -> cust_raw::CUdeviceptr { |
| 158 | self.as_device_ptr().as_raw() |
| 159 | } |
| 160 | |
| 161 | fn size_in_bytes(&self) -> usize { |
| 162 | std::mem::size_of::<T>() |
nothing calls this directly
no test coverage detected