Visible to Intel only — GUID: GUID-1FF85536-D8E7-400A-9FE9-863BB50FEC4E
Debug a SYCL* Application on a CPU
Debug a SYCL* Application on a GPU
Debug a SYCL* Program on the FPGA Emulator
Debugging Options
Live Attach
Multi-Target
Multi-Device Debugging
Debugging an OpenCL™ Application
Debugging MPI Programs
Using Intel® Distribution for GDB with Docker*
Troubleshooting
Known Issues
Notices and Disclaimers
Visible to Intel only — GUID: GUID-1FF85536-D8E7-400A-9FE9-863BB50FEC4E
Debug a SYCL* Program on the FPGA Emulator
The FPGA emulator runs on the CPU and behaves similarly to the CPU device. Make sure you complete the necessary setup steps described in the Get Started Guide and proceed with instructions on Basic Debugging on CPU.
When running the Array Transform sample, set the ONEAPI_DEVICE_SELECTOR environment variable to opencl:acc, so the program picks the FPGA emulation device:
ONEAPI_DEVICE_SELECTOR=opencl:acc gdb-oneapi array-transform
or if you have already started the debugging session, set the variable from GDB and (re)start the application:
set env ONEAPI_DEVICE_SELECTOR=opencl:acc run