Expand description
cuMemAdvise wrapper.
Public typed enum MemAdvice mirrors the six driver-level
CU_MEM_ADVISE_* variants. The actor surface routes
ManagedMsg::Advise through here, but the wrapper is also callable
directly for callers operating on managed allocations they own.
Enums§
- MemAdvice
- Memory advisory hints. Each maps 1:1 to a
CU_MEM_ADVISE_*variant. TheSet*variants take a target location; theUnset*variants ignore it but require it to typecheck (CUDA accepts the arg either way).
Functions§
- advise
- Apply
adviceto the byte range[dev_ptr .. dev_ptr+bytes). WrapscuMemAdvise_v2.