pub unsafe extern "C" fn hipLibraryGetManaged(
dptr: *mut *mut c_void,
bytes: *mut usize,
library: hipLibrary_t,
name: *const c_char,
) -> hipError_tExpand description
@brief Get host pointer to a __managed__ variable defined in a library.
Returns the host-accessible managed pointer and size of the named managed
symbol within the library’s code object. Mirrors CUDA’s
cuLibraryGetManaged / cudaLibraryGetManaged. Either dptr or bytes
(but not both) may be NULL. Returns #hipErrorNotFound if the symbol does
not exist or is not a __managed__ variable.
@param [out] dptr Pointer to receive the managed host pointer, may be NULL. @param [out] bytes Pointer to receive the size in bytes, may be NULL. @param [in] library Input hip library handle. @param [in] name Name of the managed symbol to look up. @return #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidResourceHandle, #hipErrorNotFound