Developer Guide and Reference

  • 2021.3
  • 06/28/2021
  • 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 an if/while/do/for/switch/return 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 an if/while/do/for/switch/return statement.

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.