Nvidia Presents First OpenCL Driver for Linux
Nvidia has announced its first OpenCL-capable driver. Not only that: Linux users will get it at the same time as the Windows package, which complies with OpenCL's platform-independent concept.
The Open Computing Language initially developed by Apple is a platform- and manufacturer-independent language for graphics chips that goes beyond graphics. OpenCL is now available for Windows and Linux after its initial offering with Mac OS X 10.6. Nvidia is the first to present an OpenCL-capable driver, with ATI probably soon to follow. Prerequisite is a CUDA-enabled Nvidia GPU from at least the Geforce 8000 series. Nvidia, apart from the OpenGL-capable Linux driver in version 190.29, also offers an OpenGL SDK for all platforms, sample code and an OpenGL Visual Profiler to help optimize programs. The Nvidia developer website includes downloads.
Although Apple was instrumental in its development, responsibility for OpenCL lies with the Khronos Group, whose server is unfortunately currently not available because of demand following the Nvidia announcement. Next to Apple, AMD/ATI and Nvidia, 30 other firms belong to the group, among them IBM, Intel, ARM, Freescale, Texas Instruments, STM, S3, 3DLABS, QNX, Qualcomm, Nokia, Samsun and Toshiba, as well as some popular gamers like Activision Blizzard and Electronic Arts.
There is now finally a standard that programmers can rely upon to run on heterogeneous platforms and graphics chips. It should give a big boost to the use of graphics chips for application acceleration. Previously programmers had to depend on proprietary technology such as Nvidia's Compute Unified Device Architecture (CUDA) and AMD/ATI's FireStream or use OpenGL or the DirectX Shader (GPGPU). In the latter case, because the GPU shader was primarily developed for graphics, realization of normal computer processing via Shader was rather tedious, with often less than optimum results, depending on algorithm and implementation, in that it didn't use the full processing potential of the graphics chip. OpenCL should change all that. It should be easy to program and spare programmers the tedious job of optimizing the code to the particulars of the graphics chip. A short primer on OpenCL can be found on Apple's homepage.
Because few programmers and software firms were willing to write tedious code that runs on a specific graphics chip only, the introduction of OpenCL is a breath of fresh air. As it is, the market for graphics chips is distributed as 49.7% Intel, 31.1% Nvidia, 17.1% AMD/ATI and 2.1% other. OpenCL runs not only on graphics chips (Intel has also recently announced OpenCL support for its upcoming Larabee), but also on normal CPUs, DSPs and the Cell processor found in the fastest supercomputers and Playstation 3. In the end, or so the theory goes, almost all hardware should run on OpenCL.
The processing power of modern graphics chips already lends itself quite well to computational tasks, among them for video and audio encoding, video effect, raytracing, cryptography, physics and liquids simulation, 2D graphics filter computations, sound synthesis and audio effects.
OpenCL is truly a benefit for Linux, as are OpenGL for graphics and OpenAL for sound: code is simply portable between these worlds and requires no adjustment. Meanwhile Microsoft has been somewhat asleep at the wheel, with its proprietary alternative to OpenCL, DirectX Compute Shader, released end of July with DirectX 11 SP2 for its only moderately popular Windows Vista. The developer community's attention is clearly directed more toward OpenCL.
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.