Function hip_sys::hiprt::hipMemPrefetchAsync
source · pub unsafe extern "C" fn hipMemPrefetchAsync(
dev_ptr: *const c_void,
count: usize,
device: i32,
stream: *mut ihipStream_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