pub unsafe extern "C" fn hipMemPrefetchAsync(
dev_ptr: *const c_void,
count: usize,
device: c_int,
stream: hipStream_t,
) -> hipError_t
Expand 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
@note This API is implemented on Linux, under development on Windows.