Updates to OpenGL and OpenCL
Written by Alex Denham   
Thursday, 25 July 2013

The Khronos Group has announced details of new specifications of both OpenGL and OpenCL.

 

There’s a new version of OpenGL, the 3D graphics API. Version 4.4 was announced a year after the previous version, with improvements to make it easier to move Direct3D apps and games to OpenGL. The Khronos Group also released details of the provisional specification for OpenCL version 2.0, the API you can use to choose where your code runs – the CPU, GPU, or other local resources.

Alongside the OpenGL 4.4 specification, the OpenGL ARB (Architecture Review Board) Working Group at Khronos has created the first set of formal OpenGL conformance tests since OpenGL 2.0. This will, according to the announcement of the new version, help reduce differences between multiple vendors’ OpenGL drivers, resulting in enhanced portability for developers.

The OpenCL 2.0 improvements are largely focused on providing better ways to share resources between the CPU and GPU.  Its announcement said that shared virtual memory will let host and device kernels directly share complex, pointer-containing data structures such as trees and linked lists, so avoiding the need to transfer data between host and devices.

Dynamic parallelism will let device kernels queue kernels to the same device with no host interaction, and you’ll be able to write functions that use a generic address space. This will avoid the need to specify a named address space for arguments. The announcement says this will be especially useful for those arguments that are declared to be a pointer to a type, eliminating the need for multiple functions to be written for each named address space used in an application.

Improved image support including sRGB images and 3D image writes, and the ability for kernels to read from and write to the same image. OpenCL 2.0 will have built-in functions for kernels to read from or write to a FIFO pipe. The final improvement is an Android installable client driver extension that lets OpenCL implementations to be discovered and loaded as a shared object on Android systems.

More Information

Open GL

Open CL

Related Articles

OpenGL And ES Updated

OpenGL Faster Than DirectX - Or Is It?

Open CL in Action (book review)

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


Pico 2W Announced But There Is A Surprise!
25/11/2024

Raspberry Pi released the Pico 2 a few months ago and we have been waiting for the Pico 2W since then. But Pimoroni beat them to the draw with the Pico Plus 2W based on the RM2 radio module and hinted [ ... ]



Gifts For Geeks 2024
22/11/2024

Are you ready for Thanksgiving, when overeating remorse and a surfeit of being thankful causes the unsettling thought that there are only four weeks till the Xmas break? So here is a mix of weird [ ... ]


More News

Last Updated ( Thursday, 25 July 2013 )