Skip to main content

hipKernelGetParamInfo

Function hipKernelGetParamInfo 

Source
pub unsafe extern "C" fn hipKernelGetParamInfo(
    kernel: hipKernel_t,
    paramIndex: usize,
    paramOffset: *mut usize,
    paramSize: *mut usize,
) -> hipError_t
Expand description

@brief Returns the offset and size of a kernel parameter

@param [in] kernel Kernel handle to retrieve parameter info @param [in] paramIndex Index of the parameter @param [out] paramOffset returns the offset of the parameter @param [out] paramSize Optionally returns the size of the parameter

@return #hipSuccess, #hipErrorInvalidValue