forked from KhronosGroup/SYCL-Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize RET for vec logical and comparison ops
This is the eighth of several changes that fix problems with the specification of the `vec` class. An implementation that follows the existing specification would not accept common code patterns and would not pass the CTS. None of the existing implementations actually follow the existing specification. This change clarifies the return type for the comparison and logical operators. All of these operators return a vec of integers, where the size of the integer elements depends on the element types of the input operands. The previous wording only specified the return type for certain `DataT` types, leaving other types unspecified. Reword this in a general way which applies to all `DataT` types. These changes correspond to slide 27 of the presentation that was discussed in the WG meetings.
- Loading branch information
Showing
1 changed file
with
56 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters