Skip to main content

hipMemcpyBatchAsync

Function hipMemcpyBatchAsync 

Source
pub unsafe extern "C" fn hipMemcpyBatchAsync(
    dsts: *mut *mut c_void,
    srcs: *mut *mut c_void,
    sizes: *mut usize,
    count: usize,
    attrs: *mut hipMemcpyAttributes,
    attrsIdxs: *mut usize,
    numAttrs: usize,
    failIdx: *mut usize,
    stream: hipStream_t,
) -> hipError_t
Expand description

@brief Perform Batch of 1D copies

@param [in] dsts - Array of destination pointers @param [in] srcs - Array of source pointers. @param [in] sizes - Array of sizes for memcpy operations @param [in] count - Size of dsts, srcs and sizes arrays @param [in] attrs - Array of memcpy attributes (not supported) @param [in] attrsIdxs - Array of indices to map attrs to copies (not supported) @param [in] numAttrs - Size of attrs and attrsIdxs arrays (not supported) @param [in] failIdx - Pointer to a location to return failure index inside the batch @param [in] stream - stream used to enqueue operations in.

@returns #hipSuccess, #hipErrorInvalidValue