-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Modify detail::is_complex to handle cv qualifiers correctly (#…
…12491) Modify detail::is_complex to handle cv qualifiers correctly, by replacing T with std::remove_cv_t\<T\> to strip off the cv qualifiers. Its test cases have also been updated to check const and/or volatile qualifers now. detail::is_plus and detail::is_multiplies are also updated similarly to strip off const qualifers (as suggested by @steffenlarsen, technically adding/removing volatile changes these two types of operations, so volatile qualifers are not stripped off for them). --------- Signed-off-by: Hu, Peisen <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
10 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
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
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