concept SYCL in category parallel computing
appears as: SYCL

This is an excerpt from Manning's book Parallel and High Performance Computing.
The difference between these native languages and higher-level languages is blurring as new languages are introduced. The SYCL language, originally a C++ layer on top of OpenCL, is typical of these newer, more portable languages. Along with the Kokkos and Raja languages, SYCL supports a single-source for both CPU and GPU. We’ll touch on these languages at the end of the chapter.
Listing 12.16 OpenCL kernel
OpenCL/StreamTriad/StreamTriad_kernel.cl 1 // OpenCL kernel version of stream triad 2 __kernel void StreamTriad( #A 3 const int n, 4 const double scalar, 5 __global const double *a, 6 __global const double *b, 7 __global double *c) 8 { 9 int i = get_global_id(0); #B 10 11 // Protect from going out-of-bounds 12 if (i >= n) return; 13 14 c[i] = a[i] + scalar*b[i]; 15 }