首页> 外国专利> Efficient implementation of shading language programs using controlled partial evaluation

Efficient implementation of shading language programs using controlled partial evaluation

机译:使用受控的部分评估高效实现着色语言程序

摘要

A graphical computing system including a host processor and a target processor. In response to execution of stored instructions, the host processor is operable to: (a) receive input code for a program and a set of constraints on input variables of the program, (b) compile a specialized version VK of the input code for each constraint CK of said constraint set and store the specialized version VK in a local memory, (c) receive particular values of the input variables in response to a run-time invocation of the program, (d) search the constraint set to determine if the particular values satisfy any of the constraints of the constraint set, and (e) in response to determining that the particular values satisfy a constraint CL of the constraint set, invoking execution of the specialized version VL by the target processor.
机译:一种包括主机处理器和目标处理器的图形计算系统。响应于存储的指令的执行,主机处理器可操作为:(a)接收程序的输入代码和对该程序的输入变量的一组约束,(b)编译专用版本V K K 的输入代码的Sub>,并将专用版本V K 存储在本地存储器中,(c)接收输入的特定值变量以响应程序的运行时调用,(d)搜索约束集以确定特定值是否满足约束集的任何约束,以及(e)响应于确定特定值满足a约束集的约束C L ,由目标处理器调用专用版本V L 的执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号