SYCL#
Overview#
The oneAPI programming language is a combination of SYCL and a set of SYCL extensions that are listed below. The SYCL programming language is based on standard C++ and provides features to define data parallel functions and to launch them on accelerator devices. Unlike some other parallel languages, SYCL allows an application to mix both host code and device code together in the same source file, which provides a more intuitive parallel programming environment.
A conformant oneAPI implementation must implement the SYCL 2020 Specification, which is published by The Khronos Group.
A conformant oneAPI implementation must also implement the set of SYCL extensions listed in the Extensions Table. These extensions provide additional functionality beyond what is specified in the SYCL language. Some of these extensions are required only on certain devices types, as indicated in the table.
Extension |
CPU |
GPU |
FPGA |
---|---|---|---|
Required |
Required |
Not required [1] |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Required [2] |
Required [2] |
Required [2] |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Not required |
Not required |
Required |
|
Not required |
Not required |
Required |
|
Required |
Required |
Required |
|
Required |
Required |
Required |
|
Not required |
Not required |
Required |
|
Not required |
Not required |
Required |
|
Required |
Required |
Required |
|
Not required |
Not required |
Required |
|
Required |
Required |
Required |