首页> 外国专利> Technologies for indirectly calling vector functions

Technologies for indirectly calling vector functions

机译:间接调用向量函数的技术

摘要

Technologies for indirectly calling vector functions include a compute device that includes a memory device to store source code and a compiler module. The compiler module is to identify a set of declarations of vector variants for scalar functions in the source code, generate a vector variant address map for each set of vector variants, generate an offset map for each scalar function, and identify, in the source code, an indirect call to the scalar functions, wherein the indirect call is to be vectorized. The compiler module is also to determine, based on a context of the indirect call, a vector variant to be called and store, in object code and in association with the indirect call, an offset into one of the vector variant address maps based on (i) the determined vector variant to be called and (ii) the offset map that corresponds to each scalar function.
机译:用于间接调用向量函数的技术包括计算设备,该计算设备包括用于存储源代码的存储设备和编译器模块。编译器模块将为源代码中的标量函数标识一组向量变量声明,为每组向量变量生成一个向量变量地址映射,为每个标量函数生成一个偏移映射,并在源代码中进行标识,是对标量函数的间接调用,其中该间接调用将被矢量化。编译器模块还将基于间接调用的上下文确定要调用的向量变量,并在目标代码中并与间接调用相关联地将偏移量存储在基于()的向量变量地址映射之一中i)确定的要调用的向量变体,以及(ii)与每个标量函数相对应的偏移图。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号