OpenCL™规范 3.OpenCL体系结构

OpenCL是一个开放标准,支持跨CPU、GPU等设备的编程,提供了一种通用编程接口,使得开发者无需依赖特定图形API。它旨在帮助专业程序员编写高效且可移植的代码,通过低级硬件抽象和详细的硬件支持来实现多设备编程的灵活性。
摘要由CSDN通过智能技术生成

3. The OpenCL Architecture

3.OpenCL体系结构

OpenCL is an open industry standard for programming a heterogeneous collection of CPUs, GPUs and other discrete computing devices organized into a single platform. It is more than a language. OpenCL is a framework for parallel programming and includes a language, API, libraries and a runtime system to support software development. Using OpenCL, for example, a programmer can write general purpose programs that execute on GPUs without the need to map their algorithms onto a 3D graphics API such as OpenGL or DirectX.

OpenCL是一个开放的行业标准,用于对组织到单个平台中的CPU、GPU和其他离散计算设备的异构集合进行编程。它不仅仅是一种语言。OpenCL是一个用于并行编程的框架,包括一种语言、API、库和一个支持软件开发的运行时系统。例如,使用OpenCL,程序员可以编写在GPU上执行的通用程序,而无需将其算法映射到3D图形API(如OpenGL或DirectX)上。

The target of OpenCL is expert programmers wanting to write portable yet efficient code. This includes library writers, middleware vendors, and performance oriented application programmers. Therefore OpenCL provides a low-level hardware abstraction plus a framework to support programming and many details of the underlying hardware are exposed.

OpenCL的目标是希望编写可移植但高效的代码的专业程序员。这包括库编写者、中间件供应商和面向性能的应用程序程序员。因此,OpenCL提供了一个底层硬件抽象和一个支持编程的框架,并公开了底层硬件的许多细节。

To describe the core ideas behind OpenCL, we will use a hierarchy of models:

为了描述OpenCL背后的核心思想,我们将使用模型的层次结构:

  • Platform Model

  • 平台模型

  • Memory Model

  • 内存模型

  • Execution Model

  • 执行模型

  • Programming Model

  • 编程模型

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值