(&self)
| 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. |
| 68 | fn download_on_stream(&self, stream: *mut std::ffi::c_void) -> std::result::Result<Vec<f32>, String> { |
no outgoing calls
no test coverage detected