SYCL is a programming model that lets developers support a wide variety of devices (CPUs, GPUs, and more) from a single code base. Given the growing heterogeneity of processor roadmaps, moving to a platform-independent model such as SYCL is essential for modern software developers. SYCL has the further advantage of supporting a single-source style of programming from completely standard C++. In this tutorial, we will introduce SYCL and provide programmers with a solid foundation they can build on to gain mastery of this language.
The format will be short video presentations followed by short coding exercises.
- Introduction to SYCL
- The basic structure of every SYCL program
- Device topology and configuring a queue
- Handling SYCL errors
- The host-device interface and launching a kernel
- The fundamental concepts of a SYCL kernel
- Managing Data in SYCL
There will be time allocated for hands on coding exercises during the tutorial and we recommend that you set up your machine or the Intel DevCloud before the tutorial for these exercises. Since there are various implementations of the SYCL standard you have some choices.
We’ll provide instructions during the exercises for all these options.
Use SYCL in the Cloud
The simplest choice is to use DPC++ and the Intel DevCloud because it requires no setup on your machine.
You can access the cloud machine through your web browser or via SSH terminal and run SYCL code on an Intel CPU
Register for access at https://devcloud.intel.com/oneapi/connect/
Hardware Supported: Intel CPU/GPU, Arm GPU
Go to https://developer.codeplay.com/products/computecpp/ce/guides for setup instructions
Hardware Supported: Intel CPU/GPU/FPGA, NVIDIA GPU
Go to https://software.intel.com/en-us/oneapi/dpc-compiler for setup instructions
Hardware Supported: AMD GPU, NVIDIA GPU, (Other CPUs where a C++ compiler exists for that CPU that supports OpenMP)
Go to https://github.com/illuhad/hipSYCL for setup instructions
Course Schedule (Pacific Time)
|8:00||20 min||Lecture||Introduction to SYCL||Codeplay|
|8:20||25 min||Hands on||Getting set up||Codeplay|
|8:45||20 min||Lecture||Topology discovery and queue configuration||Codeplay|
|9:05||25 min||Hands on||Configuring a queue||Codeplay|
|9:30||20 min||Lecture||Defining kernels||Codeplay|
|9:50||25 min||Hands on||Hello world||Codeplay|
|10:15||20 min||Lecture||Managing data||Codeplay|
|10:35||25 min||Hands on||Vector add||Codeplay|
|11:00||1 hour||Q&A||Continued Discussion and Q&A on chat channel||TBD|