name | OpenCL |
---|---|
logo | |
author | Apple Inc. |
developer | Khronos Group |
latest release version | 1.1 |
latest release date | |
operating system | Cross-platform |
genre | API |
license | Royalty Free |
website | www.khronos.org/openclwww.khronos.org/webcl }} |
OpenCL gives any application access to the graphics processing unit for non-graphical computing. Thus, OpenCL extends the power of the Graphics Processing Unit beyond graphics (general-purpose computing on graphics processing units). Academic researchers have investigated automatically compiling OpenCL programs into application-specific processors running on FPGAs, and commercial FPGA vendors are developing tools to translate OpenCL to run on their FPGA devices.
OpenCL is analogous to the open industry standards OpenGL and OpenAL, for 3D graphics and computer audio, respectively. OpenCL is managed by the non-profit technology consortium Khronos Group.
OpenCL 1.0 has been released with Mac OS X Snow Leopard. According to an Apple press release:
Snow Leopard further extends support for modern hardware with Open Computing Language (OpenCL), which lets any application tap into the vast gigaflops of GPU computing power previously available only to graphics applications. OpenCL is based on the C programming language and has been proposed as an open standard.
AMD has decided to support OpenCL (and DirectX 11) instead of the now deprecated Close to Metal in its Stream framework. RapidMind announced their adoption of OpenCL underneath their development platform, in order to support GPUs from multiple vendors with one interface. On December 9, 2008, Nvidia announced its intention to add full support for the OpenCL 1.0 specification to its GPU Computing Toolkit. On October 30, 2009, IBM released its first OpenCL implementation as a part of the XL compilers.
OpenCL 1.1 was ratified by the Khronos Group June 14, 2010 and adds significant functionality for enhanced parallel programming flexibility, functionality and performance including:
The OpenCL specification is under development at Khronos, which is open to any interested company to join.
The actual calculation: (Based on Fitting FFT onto the G80 Architecture)
__kernel void fft1D_1024 (__global float2 *in, __global float2 *out, __local float *sMemx, __local float *sMemy) { int tid = get_local_id(0); int blockIdx = get_group_id(0) * 1024 + tid; float2 data[16];
// starting index of data to/from global memory in = in + blockIdx; out = out + blockIdx;
globalLoads(data, in, 64); // coalesced global reads fftRadix16Pass(data); // in-place radix-16 pass twiddleFactorMul(data, tid, 1024, 0);
// local shuffle using local memory localShuffle(data, sMemx, sMemy, tid, (((tid & 15) * 65) + (tid >> 4))); fftRadix16Pass(data); // in-place radix-16 pass twiddleFactorMul(data, tid, 64, 4); // twiddle factor multiplication
localShuffle(data, sMemx, sMemy, tid, (((tid >> 4) * 64) + (tid & 15)));
// four radix-4 function calls fftRadix4Pass(data); // radix-4 function number 1 fftRadix4Pass(data + 4); // radix-4 function number 2 fftRadix4Pass(data + 8); // radix-4 function number 3 fftRadix4Pass(data + 12); // radix-4 function number 4
// coalesced global writes globalStores(data, out, 64); } A full, open source implementation of an OpenCL FFT can be found on Apple's website
Synopsis of OpenCL conformant products | |||||||
AMD APP SDK (supports OpenCL CPU and Accelerated processing unit Devices) | AMD Fusion E-350, E-240, C-50, C-30 with HD 6310/HD 6250 | AMD Radeon/Mobility HD 6800, HD 5x00 series GPU, iGPU HD 6310/HD 6250 | ATI FirePro Vx800 series GPU | ||||
Intel OpenCL SDK 1.1 (supports only OpenCL Intel Core based CPU Device) | Intel CPUs with SSE 4.1, SSE 4.2 or AVX support. Microsoft Windows, Linux | Intel Core i7, i5, i3; 2nd Generation Intel Core i7/5/3 | IBM BladeCenter JS2x, JS43 | IBM BladeCenter QS22 | |||
NVIDIA OpenCL Driver | [[NVIDIA">Intel Core (microarchitecture) | [[Xeon#Core-based_Xeon | |||||
!style="text-align:left" | IBM BladeCenter JS2x, JS43 | IBM BladeCenter QS22 | |||||
NVIDIA OpenCL Driver | [[NVIDIA Tesla C/D/S | NVIDIA GeForce GTS/GT/GTX | NVIDIA ION | NVIDIA Quadro FX/NVX/Plex | |||
bg:OpenCL ca:OpenCL cs:OpenCL de:OpenCL es:OpenCL eu:OpenCL fa:اپنسیال fr:OpenCL ko:OpenCL it:OpenCL nl:OpenCL ja:OpenCL no:OpenCL pl:OpenCL pt:OpenCL ru:OpenCL sk:OpenCL fi:OpenCL sv:OpenCL th:OpenCL uk:OpenCL zh:OpenCL
This text is licensed under the Creative Commons CC-BY-SA License. This text was originally published on Wikipedia and was developed by the Wikipedia community.
The World News (WN) Network, has created this privacy statement in order to demonstrate our firm commitment to user privacy. The following discloses our information gathering and dissemination practices for wn.com, as well as e-mail newsletters.
We do not collect personally identifiable information about you, except when you provide it to us. For example, if you submit an inquiry to us or sign up for our newsletter, you may be asked to provide certain information such as your contact details (name, e-mail address, mailing address, etc.).
When you submit your personally identifiable information through wn.com, you are giving your consent to the collection, use and disclosure of your personal information as set forth in this Privacy Policy. If you would prefer that we not collect any personally identifiable information from you, please do not provide us with any such information. We will not sell or rent your personally identifiable information to third parties without your consent, except as otherwise disclosed in this Privacy Policy.
Except as otherwise disclosed in this Privacy Policy, we will use the information you provide us only for the purpose of responding to your inquiry or in connection with the service for which you provided such information. We may forward your contact information and inquiry to our affiliates and other divisions of our company that we feel can best address your inquiry or provide you with the requested service. We may also use the information you provide in aggregate form for internal business purposes, such as generating statistics and developing marketing plans. We may share or transfer such non-personally identifiable information with or to our affiliates, licensees, agents and partners.
We may retain other companies and individuals to perform functions on our behalf. Such third parties may be provided with access to personally identifiable information needed to perform their functions, but may not use such information for any other purpose.
In addition, we may disclose any information, including personally identifiable information, we deem necessary, in our sole discretion, to comply with any applicable law, regulation, legal proceeding or governmental request.
We do not want you to receive unwanted e-mail from us. We try to make it easy to opt-out of any service you have asked to receive. If you sign-up to our e-mail newsletters we do not sell, exchange or give your e-mail address to a third party.
E-mail addresses are collected via the wn.com web site. Users have to physically opt-in to receive the wn.com newsletter and a verification e-mail is sent. wn.com is clearly and conspicuously named at the point of
collection.If you no longer wish to receive our newsletter and promotional communications, you may opt-out of receiving them by following the instructions included in each newsletter or communication or by e-mailing us at michaelw(at)wn.com
The security of your personal information is important to us. We follow generally accepted industry standards to protect the personal information submitted to us, both during registration and once we receive it. No method of transmission over the Internet, or method of electronic storage, is 100 percent secure, however. Therefore, though we strive to use commercially acceptable means to protect your personal information, we cannot guarantee its absolute security.
If we decide to change our e-mail practices, we will post those changes to this privacy statement, the homepage, and other places we think appropriate so that you are aware of what information we collect, how we use it, and under what circumstances, if any, we disclose it.
If we make material changes to our e-mail practices, we will notify you here, by e-mail, and by means of a notice on our home page.
The advertising banners and other forms of advertising appearing on this Web site are sometimes delivered to you, on our behalf, by a third party. In the course of serving advertisements to this site, the third party may place or recognize a unique cookie on your browser. For more information on cookies, you can visit www.cookiecentral.com.
As we continue to develop our business, we might sell certain aspects of our entities or assets. In such transactions, user information, including personally identifiable information, generally is one of the transferred business assets, and by submitting your personal information on Wn.com you agree that your data may be transferred to such parties in these circumstances.