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
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.
-
DebConf24 to be Held in South Korea
Busan will be the location of the latest DebConf running July 28 through August 4