-
Hello, I am currently working on a project using AdaptiveCpp, and I have encountered an issue with the
This error suggests that the My questions are: Does AdaptiveCpp currently support the sycl::fract function? In overall, this isn't a big problem as I can implement Thank you in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
It's implemented. The second argument must be a |
Beta Was this translation helpful? Give feedback.
-
Thank you. Could you please explain with some example?
And this is how it works in oneAPI. |
Beta Was this translation helpful? Give feedback.
I don't know where the reference guide pulls this signature from. It seems wrong to me. Here's what the specification actually says for fract:
(See https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html and search for
fract
in your browser)The following compiles:
However, upon checking again, I noticed t…