pub unsafe extern "C" fn cudaPointerGetAttributes(
attributes: *mut cudaPointerAttributes,
ptr: *const c_void,
) -> cudaError_tExpand description
Returns attributes about a specified pointer.
Returns in *attributes the attributes of the pointer ptr. If pointer was not allocated in, mapped by or registered with context supporting unified addressing cudaErrorInvalidValue is returned.
The cudaPointerAttributes structure is defined as.
ยงParameters
attributes: Attributes for the specified pointer.ptr: Pointer to get attributes for.