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.