Function hip_sys::hiprt::hipMemcpyFromSymbol
source · pub unsafe extern "C" fn hipMemcpyFromSymbol(
dst: *mut c_void,
symbol: *const c_void,
sizeBytes: usize,
offset: usize,
kind: hipMemcpyKind
) -> hipError_tExpand description
@brief Copies data from the given symbol on the device.
@param[out] dptr Returns pointer to destinition memory address @param[in] symbol pointer to the symbole address on the device @param[in] sizeBytes size in bytes to copy @param[in] offset offset in bytes from the start of symbole @param[in] kind type of memory transfer
@return #hipSuccess, #hipErrorInvalidValue