首页> 外国专利> Computer-implemented method, computer-readable medium and heterogeneous computing system

Computer-implemented method, computer-readable medium and heterogeneous computing system

摘要

[Solution] The computer-implemented method initializes a first processing unit (71) of a heterogeneous computing system with a first computing kernel (140-144) and a second computing unit of a heterogeneous computing system with a second computing kernel (150-154). Initialize the processing unit (72). Both the first computational kernel (140-144) and the second computational kernel (150-154) are program segments (220) configured to receive a first data structure storing elements of a general data type. ) Is configured to perform a numerical operation derived from. The program segment (220) contains function meta information that includes data related to the size of the output of the math operation, the structure of the output, and/or the work that produces the output. The function meta information and the data meta information of the runtime instance (A1) of the first data structure (A) are the first for executing the numerical operation in the runtime instance (A1) in the first processing unit (71). Second kernels (150-154) for determining a first expected cost to execute the kernels (140-144) of the first and executing numerical operations on the runtime instance (A1) in the second processing unit (72). Is used to determine a second expected cost to perform The data meta information includes the runtime size information (A1) of the runtime instance, the runtime position information (A1) of the runtime instance, the runtime synchronization information (A1) of the runtime instance, and the runtime instance (A1). At least one of type information. The method further comprises a first computing kernel (140-144) for performing a numerical operation on the runtime instance (A1) in the first processing unit (71) if the first expected cost is less than or equal to the second expected cost. A second computation kernel (150-154) for performing a numerical operation on the runtime instance (A1) in the second processing unit (72) when the first forecast cost is higher than the second forecast cost. Including one of the following: [Selection diagram]

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号