While SYCL and ComputeCpp offer developers the ability to take advantage of heterogeneous programming and hardware, they also give developers access to a range of specialized frameworks. These frameworks have been integrated with ComputeCpp to enable them to take advantage of the parallel capabilities of GPUs and specialist processors.
TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API. Find out how to use TensorFlow with SYCL in TensorFlow Overview.
The open source Eigen library is probably the most popular C++-based, high-performance dense linear algebra library. It implements matrix and vector operations, geometric transformations, numerical solvers, and related algorithms. The Eigen tensor (n-dimensional array) operations are used as part of the TensorFlow framework along with other Eigen operations. The library benefits from acceleration using heterogeneous hardware, since matrix and vector operations require many parallel calculations and are thus suited to parallelization on GPUs.
Follow the Eigen Overview article to find out how to use the SYCL accelerated Eigen operations. There is also a blog article that explains how the SYCL implementation of Eigen was implemented.
The SYCL BLAS open source project implements BLAS (Basic Linear Algebra Subroutines) using SYCL. BLAS defines a set of low-level routines for performing common linear algebra operations such as vector addition, scalar multiplication, dot products, linear combinations, and matrix multiplication. They are the de facto standard low-level routines for linear algebra libraries.
SYCL DNN is an open source library implementing various neural network algorithms such as pooling and convolution written using SYCL and C++.
Parallel STL is an implementation of the Technical Specification for C Extensions for Parallelism, current document number https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4507.pdf[N4507]. This technical specification describes a set of requirements for implementations of an interface that computer programs written in the C programming language may use to invoke algorithms with parallel execution. In practice, this specification is aimed at the next C standard (C 17) and offers the opportunity to users to specify execution policies to traditional STL algorithms which will enable the execution of those algorithms in parallel.
The open source SyclParallelSTL project exposes a SYCL policy in the experimental::parallel namespace that can be passed to standard STL algorithms for them to run on SYCL. Currently, only some STL algorithms are implemented as part of the project and work is ongoing.
VisionCpp is an open source, lightweight, header-only library for computer vision and image processing. The aim of the library is to provide a toolbox that enables performance portability for heterogeneous platforms using modern C++. VisionCpp is written using SYCL 1.2.1 and compiled/tested with ComputeCpp to accelerate vision code using OpenCL devices.