KhronosGroup / KhronosGroup/SYCL-Docs
sycl::vec::convert has no scalar equivalent
- Dominant language
- JavaScript
- Stars
- 158
- Forks
- 80
- Avg merge
- 7d 6h
- Merged PRs (30d)
- 5
Description
### Specification Version
SYCL 2020 (Revision 11)
### Section Number(s)
4.14.2.1. Vec interface
### Issue Description
Currently the `sycl::vec` interface provide the .convert function with rounding modes.
As is the spec does not provide a scalar equivalent for the conversion using the same rounding modes.
As such one can not reliably ensure that the scalar conversion results match the one of `sycl::vec`.
### Code Example (Optional)
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with SYCL 2020 section 4.14.2.1, the Vec interface, and review the existing sycl::vec::convert behavior with rounding modes. Determine how a scalar equivalent should be specified so scalar and vector conversions can reliably match. Done means the specification defines the missing scalar conversion behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100