-
公开(公告)号:US20150347107A1
公开(公告)日:2015-12-03
申请号:US14501873
申请日:2014-09-30
Applicant: Apple Inc.
Inventor: Aaftab Munshi , Rahul U. Joshi , Mon P. Wang , Kelvin C. Chiu
IPC: G06F9/45
Abstract: A system decouples the source code language from the eventual execution environment by compiling the source code language into a unified intermediate representation that conforms to a language model allowing both parallel graphical operations and parallel general-purpose computational operations. The intermediate representation may then be distributed to end-user computers, where an embedded compiler can compile the intermediate representation into an executable binary targeted for the CPUs and GPUs available in that end-user device. The intermediate representation is sufficient to define both graphics and non-graphics compute kernels and shaders. At install-time or later, the intermediate representation file may be compiled for the specific target hardware of the given end-user computing system. The CPU or other host device in the given computing system may compile the intermediate representation file to generate an instruction set architecture binary for the hardware target, such as a GPU, within the system.
Abstract translation: 系统通过将源代码语言编译成符合允许并行图形操作和并行通用计算操作的语言模型的统一中间表示来将源代码语言与最终执行环境分离。 然后可以将中间表示分发给最终用户计算机,其中嵌入式编译器可以将中间表示编译成针对该终端用户设备中可用的CPU和GPU的可执行二进制文件。 中间表示足以定义图形和非图形计算内核和着色器。 在安装时间或更晚时间,可以为给定的最终用户计算系统的特定目标硬件编译中间表示文件。 给定计算系统中的CPU或其他主机设备可以编译中间表示文件,以便为系统内的硬件目标(例如GPU)生成指令集架构二进制文件。
-
公开(公告)号:US10372431B2
公开(公告)日:2019-08-06
申请号:US15636200
申请日:2017-06-28
Applicant: Apple Inc.
Inventor: Aaftab Munshi , Rahul U. Joshi , Mon P. Wang , Kelvin C. Chiu
IPC: G06F8/41
Abstract: A system decouples the source code language from the eventual execution environment by compiling the source code language into a unified intermediate representation that conforms to a language model allowing both parallel graphical operations and parallel general-purpose computational operations. The intermediate representation may then be distributed to end-user computers, where an embedded compiler can compile the intermediate representation into an executable binary targeted for the CPUs and GPUs available in that end-user device. The intermediate representation is sufficient to define both graphics and non-graphics compute kernels and shaders. At install-time or later, the intermediate representation file may be compiled for the specific target hardware of the given end-user computing system. The CPU or other host device in the given computing system may compile the intermediate representation file to generate an instruction set architecture binary for the hardware target, such as a GPU, within the system.
-
公开(公告)号:US20170308364A1
公开(公告)日:2017-10-26
申请号:US15636200
申请日:2017-06-28
Applicant: Apple Inc.
Inventor: Aaftab Munshi , Rahul U. Joshi , Mon P. Wang , Kelvin C. Chiu
IPC: G06F9/45
Abstract: A system decouples the source code language from the eventual execution environment by compiling the source code language into a unified intermediate representation that conforms to a language model allowing both parallel graphical operations and parallel general-purpose computational operations. The intermediate representation may then be distributed to end-user computers, where an embedded compiler can compile the intermediate representation into an executable binary targeted for the CPUs and GPUs available in that end-user device. The intermediate representation is sufficient to define both graphics and non-graphics compute kernels and shaders. At install-time or later, the intermediate representation file may be compiled for the specific target hardware of the given end-user computing system. The CPU or other host device in the given computing system may compile the intermediate representation file to generate an instruction set architecture binary for the hardware target, such as a GPU, within the system.
-
公开(公告)号:US09740464B2
公开(公告)日:2017-08-22
申请号:US14501873
申请日:2014-09-30
Applicant: Apple Inc.
Inventor: Aaftab Munshi , Rahul U. Joshi , Mon P. Wang , Kelvin C. Chiu
IPC: G06F9/45
Abstract: A system decouples the source code language from the eventual execution environment by compiling the source code language into a unified intermediate representation that conforms to a language model allowing both parallel graphical operations and parallel general-purpose computational operations. The intermediate representation may then be distributed to end-user computers, where an embedded compiler can compile the intermediate representation into an executable binary targeted for the CPUs and GPUs available in that end-user device. The intermediate representation is sufficient to define both graphics and non-graphics compute kernels and shaders. At install-time or later, the intermediate representation file may be compiled for the specific target hardware of the given end-user computing system. The CPU or other host device in the given computing system may compile the intermediate representation file to generate an instruction set architecture binary for the hardware target, such as a GPU, within the system.
-
-
-