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.