Function cuMemGetAllocationPropertiesFromHandle

Source
pub unsafe extern "C" fn cuMemGetAllocationPropertiesFromHandle(
    prop: *mut CUmemAllocationProp,
    handle: CUmemGenericAllocationHandle,
) -> CUresult
Expand description

\brief Retrieve the contents of the property structure defining properties for this handle

\param[out] prop - Pointer to a properties structure which will hold the information about this handle \param[in] handle - Handle which to perform the query on \returns ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_PERMITTED, ::CUDA_ERROR_NOT_SUPPORTED

\sa ::cuMemCreate, ::cuMemImportFromShareableHandle