Skip to main content

CudaSegmentScanner

Type Alias CudaSegmentScanner 

Source
pub type CudaSegmentScanner = Arc<dyn Fn() -> Vec<ScannedSegment> + Send + Sync>;
Expand description

Enumerates the currently-live CUDA segments. An Arc (not Box) so [scan_cuda_segments] can clone it out and drop the registry lock before invoking it — see that function.

Aliased Type§

pub struct CudaSegmentScanner { /* private fields */ }