rt开头的函数接口
收藏回复举报
rt开头的函数接口
t('forum.solved') 已解决
新人帖
发表于2026-01-09 11:12:59
0 查看

求助,关于CANN中类似runtime/runtime中一些rt开头的函数有没有说明文档或者使用说明之类的

例如:

/**

 * @ingroup rt_kernel

 * @brief launch kernel with handle to device

 * @param [in] hdl             program

 * @param [in] tilingKey       tilingKey

 * @param [in] blockDim        block dimensions

 * @param [in] argsInfo        argments address for kernel function

 * @param [in] smDesc          shared memory description

 * @param [in] stm             associated stream

 * @param [in] cfgInfo      task config

 * @return RT_ERROR_NONE for ok

 * @return RT_ERROR_INVALID_VALUE for error input

 */

RTS_API rtError_t rtKernelLaunchWithHandleV2(void *hdl, const uint64_t tilingKey, uint32_t blockDim,

    rtArgsEx_t *argsInfo, rtSmDesc_t *smDesc, rtStream_t stm, const rtTaskCfgInfo_t *cfgInfo);

我要发帖子