pub unsafe extern "C" fn hipSetupArgument(
    arg: *const c_void,
    size: usize,
    offset: usize
) -> hipError_t
Expand description

@brief Set a kernel argument.

@returns hipSuccess, hipInvalidDevice, hipErrorNotInitialized, hipErrorInvalidValue

@param [in] arg Pointer the argument in host memory. @param [in] size Size of the argument. @param [in] offset Offset of the argument on the argument stack.