Debug Examples in Windows
After you’ve completed the installation and configuration steps in the Get Started Guide for Windows, here are two debugging examples on Windows.
These examples describe two basic debugging scenarios using Visual Studio and a simple SYCL application named Array Transform. One scenario is debugging a SYCL kernel that is compiled for execution on the CPU and the second illustrates debugging when the SYCL kernel is compiled to run on an Intel GPU.
If you installed the Intel Samples Browser extension for Visual Studio, you should find the Array Transform sample within that tool. Otherwise, the Array Transform application used in this tutorial can be found in the Intel oneAPI sample repo. The sample includes Visual Studio project files.
This example describes a basic scenario of debugging a sample SYCL* app, Array Transform, with the kernel offloaded to the CPU. |
|
This example describes a basic scenario of debugging a program with the kernel offloaded to the GPU. |
If you are experiencing problems with debugging in Windows, refer to Troubleshoot Debugging in Windows.