aclrtcGetCompileLogSize
产 品 支 持 情 况
功 能 说 明
获 取 编 译 日 志 的 大 小。用 于 在aclrtcGetCompileLog获 取 日 志 内 容 时 分 配 对 应 大 小 的 内 存 空 间。
函 数 原 型
Text
aclError aclrtcGetCompileLogSize(aclrtcProg prog, size_t *logSizeRet)
参 数 说 明
表 1 接 口 参 数 说 明
返 回 值 说 明
aclError为int类 型 变 量,详 细 说 明 请 参 考RTC错 误 码。
约 束 说 明
无
调 用 示 例
Text
aclrtcProg prog;
size_t logSize;
aclError result = aclrtcGetCompileLogSize(prog, &logSize);