Code only runs on optimization level 1 (-O1) using ICPX with SYCL application

66 views Asked by At

I am developing a SYCL application using the Intel ICPX compiler. While the code executes successfully in debug mode with the -O0 optimization level, I encounter issues in the release version: the code runs without crashing but yields incorrect results. This problem arises when using higher optimization levels, such as -O2. Standard debugging techniques, like breakpoints, are not very helpful in this scenario as they don't provide useful insights at these optimization levels. Are there any tools or techniques specifically suited for debugging under such high optimization conditions

0

There are 0 answers