Ubuntu 10.10: GPU hardware acceleration (OpenCL) available
Ubuntu 10.10 comes with OpenCL support. OpenCL is a language that allows to access the GPU and other parallel processors. That means that the graphics card’s shaders can be used from within any application. Multimedia or image processing applications like GIMP or GIMP plugins are perfect candidates for this optimisation that is often just called “hardware acceleration”.
If you decide to install the nvidia proprietary graphics card drivers (you can do this with a few clicks), CUDA (the Nvidia hardware acceleration API) and OpenCL support is installed too. [Information for ATI/fglx still needed, can you help? Please comment.]
There’s also a package for PyOpenCL called python-pyopencl which allows developers to get full access to OpenCL using Python.
That means that future GIMP plugins could be written in Python with OpenCL and hardware acceleration support, bringing incredible performance gains (1000 times faster and even more). I am glad and hopeful to see first applications or plugins that use this great new feature soon.
Example output from the PyOpenCL benchmark script:
python /usr/share/doc/python-pyopencl/examples/benchmark-all.py
Execution time of test without OpenCL: 14.9085888863 s
===============================================================
Platform name: NVIDIA CUDA
Platform profile: FULL_PROFILE
Platform vendor: NVIDIA Corporation
Platform version: OpenCL 1.0 CUDA 3.1.1
---------------------------------------------------------------
Device name: GeForce 9300M GS
Device type: GPU
Device memory: 255 MB
Device max clock speed: 1450 MHz
Device compute units: 1
Execution time of test: 0.0199275 s
Results OK
Comments
Post your own comments, questions or hints here. The author and other users will see your posting and can reply to it.
Of course, you can also ask in the chat.
Subscription management
Please log in to manage your subscriptions.
User rating
This topic (Ubuntu 10.10: GPU hardware acceleration (OpenCL) available) has been rated 2.0/5.0.
New comments are disabled because of spam.