ComputeCpp v0.5.0 is released and SYCL 1.2.1 ratified

06 December 2017

It is a day to celebrate for the ComputeCpp team at Codeplay because today the Khronos group announced that SYCL 1.2.1 has been ratified and finalized for release. This is an exciting piece of news for Codeplay that enables us to work towards full compliance of SYCL 1.2.1 for ComputeCpp, and our v0.5 release which is now available to download, moves us closer to that goal.

The SYCL 1.2.1 specification has improved on the existing 1.2 standard by introducing new features which allow for better integration with existing machine learning and OpenCL-based frameworks such as TensorFlow as well as various improvements based on user feedback. SYCL 1.2.1 includes new asynchronous data movement routines; allowing users more control over when data is moved between devices, placeholder accessors; making data access more flexible, a new extensible property-based system; for customising the behavior of SYCL objects, and much more. The Khronos group has also been working closely with ISO C++ to ensure closer integration between SYCL and upcoming C++ standards.

The diagram below illustrates the different changes we have added to the new SYCL specification. The boxes with a gradient color show the features or changes implemented in the ComputeCpp 0.5 release. We'll update this diagram with upcoming releases, so we'll keep you posted!

We have seen a lot of SYCL usage in the machine learning space with many developers keen to take advantage of accelerator processors that provide OpenCL support. From desktop to embedded systems, SYCL can help developers integrate high level frameworks such as TensorFlow with a wide range of parallel hardware. ComputeCpp, our implementation of the SYCL standard can already be used to execute TensorFlow applications on SPIR OpenCL supported hardware.

ComputeCpp v0.5 brings significant advancements for machine learning developers using TensorFlow and other frameworks, by providing better interaction with existing schedulers via explicit copy operations and clear data-flow semantics. This enables a number of new operations on TensorFlow, alongside several performance improvements, that will be upstreamed soon. In particular, some of the Codeplay extensions in Tensorflow have now made it to the core SYCL specification and will be implemented by all the other SYCL implementations.

SYCL received a boost recently when Renesas committed to supporting SYCL through ComputeCpp with their latest R-Car hardware designs, making it simpler for developers to build software that takes full advantage of the parallel capabilities of their processors. Renesas join a wide group from the industry in supporting OpenCL and SYCL with Codeplay, Xilinx and AMD all active members of the SYCL Working Group. An ARM release of ComputeCpp is also now available and allows developers to target a range of embedded processors using SYCL.

This ratification concludes a large effort from the committee members, including Michael, Gordon and Ruyman from Codeplay, who provide feedback based on their experience in implementing SYCL frameworks and applications. The work does not stop here though. The SYCL working group will continue to work on next developments for the SYCL standard, an updated 2.2 specification to match 1.2.1 developments and closer interaction with C++ 2020 proposals for heterogeneous systems. The SYCL group participates heavily in multiple C++2020 standardization efforts and working groups, and contributes using the forefront experience of SYCL on the feedback for proposals and papers.

Codeplay Software Ltd has published this article only as an opinion piece. Although every effort has been made to ensure the information contained in this post is accurate and reliable, Codeplay cannot and does not guarantee the accuracy, validity or completeness of this information. The information contained within this blog is provided "as is" without any representations or warranties, expressed or implied. Codeplay Sofware Ltd makes no representations or warranties in relation to the information in this post.
Ruyman Reyes's Avatar

Ruyman Reyes

CTO