首页> 外国专利> A COMPUTER-IMPLEMENTED METHOD, A COMPUTER-READABLE MEDIUM AND A HETEROGENEOUS COMPUTING SYSTEM

A COMPUTER-IMPLEMENTED METHOD, A COMPUTER-READABLE MEDIUM AND A HETEROGENEOUS COMPUTING SYSTEM

机译:一种计算机实现的方法,一种计算机可读介质和一种异构计算系统

摘要

A computer-implemented method includes initializing a first processing unit (71) of a heterogeneous computing system with a first compute kernel (140-144) and a second processing unit (72) of the heterogeneous computing system with a second compute kernel (150-154). Both the first compute kernel (140-144) and the second compute kernel (150- 54) are configured to perform a numerical operation derived from a program segment (220) configured to receive a first data structure (A) storing multiple elements of a common data type. The program segment (220) includes a function meta information including data related to a size of an output of the numerical operation, a structure of the output, and/or an effort for generating the output. The function meta information and a data meta information of a runtime instance (A1) of the first data structure (A) are used to determine first expected costs of executing the first kernel (140-144) on the first processing unit (71) to perform the numerical operation with the runtime instance (A1) and to determine second expected costs of executing the second kernel (150-154) on the second processing unit (72) to perform the numerical operation with the runtime instance (A1). The data meta information includes at least one of a runtime size information of the runtime instance (A1), a runtime location information of the runtime instance (A1), a runtime synchronization information of the runtime instance (A1) and a runtime type information of the runtime instance (A1). The method further includes one of executing the first compute kernel (140-144) on the first processing unit (71) to perform the numerical operation on the runtime instance (A1) if the first expected costs are lower than or equal to the second expected costs, and executing the second compute kernel (150-154) on the second processing unit (72) to perform the numerical operation on the runtime instance (A1) if the first expected costs are higher than the second expected costs.
机译:一种计算机实现的方法,包括使用第一计算内核(140-144)初始化异构计算系统的第一处理单元(71)和使用第二计算内核(150-150)初始化异构计算系统的第二处理单元(72)。 154)。第一计算内核(140-144)和第二计算内核(150-54)都被配置为执行从程序段(220)派生的数值运算,该程序段被配置为接收存储有多个元素的第一数据结构(A)。通用数据类型。程序段(220)包括功能元信息,该功能元信息包括与数值运算的输出的大小,输出的结构和/或用于生成输出的努力有关的数据。第一数据结构(A)的运行时实例(A1)的功能元信息和数据元信息用于确定在第一处理单元(71)上执行第一内核(140-144)的第一预期成本。在运行时实例(A1)中执行数值运算,并确定在第二处理单元(72)上执行第二内核(150-154)以在运行时实例(A1)中执行数值运算的第二预期成本。数据元信息包括运行时实例的运行时大小信息(A1),运行时实例的运行时位置信息(A1),运行时实例的运行时同步信息(A1)和运行时类型信息中的至少一项。运行时实例(A1)。该方法还包括以下步骤之一:如果第一预期成本低于或等于第二预期成本,则在第一处理单元(71)上执行第一计算内核(140-144)以在运行时实例(A1)上执行数值运算。如果第一预期成本高于第二预期成本,则在第二处理单元(72)上执行第二计算内核(150-154)以在运行时实例(A1)上执行数字运算。

著录项

  • 公开/公告号WO2018197695A1

    专利类型

  • 公开/公告日2018-11-01

    原文格式PDF

  • 申请/专利权人 ILNUMERICS GMBH;

    申请/专利号WO2018EP60932

  • 发明设计人 KUTSCHBACH HAYMO;

    申请日2018-04-27

  • 分类号G06F9/50;

  • 国家 WO

  • 入库时间 2022-08-21 12:42:08

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号