OpenCL™规范 3.4. OpenCL框架

3.4. The OpenCL Framework

3.4. OpenCL框架

The OpenCL framework allows applications to use a host and one or more OpenCL devices as a single heterogeneous parallel computer system. The framework contains the following components:

OpenCL框架允许应用程序将主机和一个或多个OpenCL设备用作单个异构并行计算机系统。该框架包含以下组件:

  • OpenCL Platform layer: The platform layer allows the host program to discover OpenCL devices and their capabilities and to create contexts.

  • OpenCL平台层:平台层允许主机程序发现OpenCL设备及其功能并创建上下文。

  • OpenCL Runtime: The runtime allows the host program to manipulate contexts once they have been created.

  • OpenCL运行时:运行时允许主机程序在创建上下文后对其进行操作。

  • OpenCL Compiler: The OpenCL compiler creates program executables that contain OpenCL kernels. The OpenCL compiler may build program executables from OpenCL C source strings, the SPIR-V intermediate language, or device-specific program binary objects, depending on the capabilities of a device. Other kernel languages or intermediate languages may be supported by some implementations.

  • OpenCL编译器:OpenCL编译器创建包含OpenCL内核的程序可执行文件。OpenCL编译器可以根据设备的功能,从OpenCL C源字符串、SPIR-V中间语言或设备特定的程序二进制对象构建程序可执行文件。某些实现可能支持其他内核语言或中间语言。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值