Skip to main content

range_attribute_raw

Function range_attribute_raw 

Source
pub unsafe fn range_attribute_raw(
    attribute: i32,
    ptr: CUdeviceptr,
    count: usize,
    out: *mut c_void,
    data_size: usize,
) -> Result<()>
Expand description

Query a single attribute on a managed-memory range.

§Safety

out must point to a buffer of data_size bytes sized for the attribute — consult the NVIDIA docs for CUmem_range_attribute.