ICachePreLoad(ISASI)
产品支持情况
功能说明
从指令所在DDR地址预加载指令到ICache中。
函数原型
__aicore__ inline void ICachePreLoad(const int64_t preFetchLen)
参数说明
表 1 参数说明
返回值说明
无
约束说明
无
调用示例
int64_t preFetchLen = 2; // 预取指令长度
AscendC::ICachePreLoad(preFetchLen);
从指令所在DDR地址预加载指令到ICache中。
__aicore__ inline void ICachePreLoad(const int64_t preFetchLen)
表 1 参数说明
无
无
int64_t preFetchLen = 2; // 预取指令长度
AscendC::ICachePreLoad(preFetchLen);