(&self)
| 62 | |
| 63 | impl GpuBuf { |
| 64 | #[inline] fn as_ptr(&self) -> *const f32 { self.ptr as *const f32 } |
| 65 | #[inline] fn as_mut_ptr(&self) -> *mut f32 { self.ptr as *mut f32 } |
| 66 | |
| 67 | /// Async download using pinned host memory for faster DMA, then sync. |
no outgoing calls
no test coverage detected