Function hip_runtime_sys::hipMemPrefetchAsync
source · pub unsafe extern "C" fn hipMemPrefetchAsync(
dev_ptr: *const c_void,
count: usize,
device: c_int,
stream: hipStream_t
) -> hipError_tExpand description
@brief Prefetches memory to the specified destination device using HIP.
@param [in] dev_ptr pointer to be prefetched @param [in] count size in bytes for prefetching @param [in] device destination device to prefetch to @param [in] stream stream to enqueue prefetch operation
@returns #hipSuccess, #hipErrorInvalidValue