Developer Guide and Reference

  • 2022.2
  • 09/08/2022
  • Public Content

DPCT1041

Message

SYCL uses exceptions to report errors, it does not use error codes. 0 is used instead of an error code in a
<statement>
. You may need to rewrite this code.

Detailed Help

SYCL* uses exceptions to report errors, it does not use error codes. The original code tries to get an error code, but SYCL does not require this functionality. Therefore, 0 is used instead of an error code in the following statements:
  • if
  • while
  • do
  • for
  • switch
  • return
  • function-like macro

Suggestions to Fix

You may need to rewrite this code.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.