OpenCL入门-【1】

来源:互联网 发布:godaddy 阿里域名 编辑:程序博客网 时间:2024/05/23 00:06

OpenCL logo

OPenCL 全称是:Open Computing Language

OpenCL is a trademark of Apple Inc., used under license by Khronos.

OpenCL是有Khronos组织负责制定的规范:

下面是OpenCL的官方主页

http://www.khronos.org/opencl/

一句话介绍:The open standard for parallel programming of heterogeneous systems

OpenCL是面向异构系统的并行计算开放标准

OpenCL™ is the first open, royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices. OpenCL (Open Computing Language) greatly improves speed and responsiveness for a wide spectrum of applications in numerous market categories from gaming and entertainment to scientific and medical software.

OpenCL是用于在个人PC、服务器以及手持/嵌入式设备中的现代处理器上进行跨平台并行计算的开源标准,并且无需支付版权费。

OpenCL能够快速增加运算速度和响应能力,在广大行业中都有广泛的应用前景,包括游戏、娱乐、科学研究、医疗。

 http://www.khronos.org/registry/cl/sdk/1.2/docs/OpenCL-1.2-refcard.pdf

OpenCL 1.2 标准:http://www.khronos.org/registry/cl/sdk/1.2/docs/OpenCL-1.2.pdf

Intel http://software.intel.com/en-us/vcsource/tools/opencl-sdk

1、Nvidia OpenCL 示例代码:

支持OpenCL 1.1

下载驱动:http://www.nvidia.com/Download/index.aspx?lang=en-us

Nvidia收集的其他加速库:https://developer.nvidia.com/get-started-parallel-computing

OpenCL Matrix Transpose
Efficient matrix transpose.

 

2、支持OpenCL的设备

Synopsis of OpenCL conformant products[50]AMD APP SDK (supports OpenCLCPU and accelerated processing unit Devices)X86 +SSE2 (or higher) compatible CPUs64-bit & 32-bit;[51] Linux 2.6 PC, Windows Vista/7 PCAMD Fusion E-350, E-240, C-50, C-30 with HD 6310/HD 6250AMD Radeon/Mobility HD 6800, HD 5x00 series GPU, iGPU HD 6310/HD 6250ATI FirePro Vx800 series GPUIntel SDK for OpenCL Applications 2012[52] (supports Intel Core processors and Intel HD Graphics 4000/2500)Intel CPUs withSSE 4.1, SSE 4.2 or AVX support.[53][54]Microsoft Windows, LinuxIntel Corei7,i5,i3; 2nd Generation Intel Core i7/5/3, 3rd Generation Intel Core Processors with Intel HD Graphics 4000/2500Intel Core 2Solo, Duo Quad, ExtremeIntel Xeon 7x00,5x00,3x00 (Core based)IBM Servers withOpenCL Development Kit for Linux on Power running on Power VSX[55][56]IBM Power 755 (PERCS), 750IBM BladeCenter PS70x ExpressIBM BladeCenter JS2x, JS43IBM BladeCenter QS22IBMOpenCL Common Runtime (OCR)

[57]

X86 +SSE2 (or higher) compatible CPUs 64-bit & 32-bit;[58] Linux 2.6 PCAMD Fusion, NvidiaIon and Intel Core i7, i5, i3; 2nd Generation Intel Core i7/5/3AMD Radeon, Nvidia GeForce and Intel Core 2 Solo, Duo, Quad, ExtremeATI FirePro, Nvidia Quadro and Intel Xeon 7x00,5x00,3x00 (Core based)Nvidia OpenCL Driver and Tools[59]NvidiaTesla C/D/SNvidia GeForce GTS/GT/GTXNvidia IonNvidia Quadro FX/NVX/Plex

原创粉丝点击