- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a SYCL program which runs fine while setting ZET_ENABLE_PROGRAM_DEBUGGING=1, however creating wrong result without it. The result indicates that all values of some arrays are evaluated as 0. The arrays are malloced on host either as host memory or SYCL shared memory.
How can I debug the program further?
I am using Intel® Max Series GPU (PVC) on 4th Gen Intel® Xeon® processors – 1100 series and Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-138-generic x86_64). The compiler is Version 2025.1.1 Build 20250418. The program outputs correct result when I run it on [opencl:cpu] not depend on ZET_ENABLE_PROGRAM_DEBUGGING value.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I changed the program to allocate all arrays (that was allocated in host global memory space) on shared memory. It was my bug to pass a pointer to host memory to device code.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page