Skip to main content

Module prefetch

Module prefetch 

Source
Expand description

cuMemPrefetchAsync wrapper.

Sits next to super::managed but is callable independently — callers that have a raw CUdeviceptr (e.g. from a custom allocator or an IPC-opened handle) can still issue prefetch hints.

Use super::managed::PrefetchTarget to describe the destination.

Functions§

prefetch_async
Prefetch the byte range [dev_ptr .. dev_ptr+bytes) to target, issued onto stream. Wraps cuMemPrefetchAsync_v2.