SYCLomatic icon indicating copy to clipboard operation
SYCLomatic copied to clipboard

DPCT1013 rounding modes could not be specified

Open zjin-lcf opened this issue 2 years ago • 1 comments

Migrating the cuda file shows the DPCT1013 message. https://github.com/NVIDIA/cuda-samples/blob/master/Samples/2_Concepts_and_Techniques/interval/cuda_interval_rounded_arith.h

Does SYCL support different rounding modes ? I'd like to submit a request to Intel LLVM if they are not supported. Thanks.

DPCT1013:12: The rounding mode could not be specified and the generated code may have different precision then the original code

zjin-lcf avatar Feb 10 '23 00:02 zjin-lcf

@zjin-lcf in SYCL 2020 spec, there is no different rounding mode version for one math API.

tomflinda avatar Feb 10 '23 06:02 tomflinda