-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Update sycl complex implementation #8068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SYCL] Update sycl complex implementation #8068
Conversation
/verify with intel/llvm-test-suite#1533 |
/verify with intel/llvm-test-suite#1533 |
/verify with intel/llvm-test-suite#1533 |
I wanted to check in on the status of this PR. It has passed all tests, and I believe it is ready to be merged. Is there any blocker preventing this from being reviewed or merged? @intel/llvm-reviewers-runtime @sergey-semenov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@jle-quel, please, resolve merge conflicts. |
…sycl-complex-implementation
This PR updates the tests for the experimental sycl complex implementation. It tests the new unary operators `+` and `-`, the new functions `real` and `imag` and the variant of `conj`, `proj`, `arg`, `norm`, when the function is called with decimals as arguments. An overload of `test_valid_types` which takes a template template parameter that takes two typename parameters has been introduced to support the new `deci_test_cases`. Finally, the `test_cases` structure has been renamed to `cplx_test_cases` to be coherent with the new `deci_test_cases`. Depends on: intel/llvm#8068
This PR updates the tests for the experimental sycl complex implementation. It tests the new unary operators `+` and `-`, the new functions `real` and `imag` and the variant of `conj`, `proj`, `arg`, `norm`, when the function is called with decimals as arguments. An overload of `test_valid_types` which takes a template template parameter that takes two typename parameters has been introduced to support the new `deci_test_cases`. Finally, the `test_cases` structure has been renamed to `cplx_test_cases` to be coherent with the new `deci_test_cases`. Depends on: intel#8068
This PR updates the complex implementation.
From the POV of the complex's user, the interface does not change.
The modification made to the implementation are:
is_genfloat
is true, which removes the duplication of the operatorsis_genfloat
is true, which removes some boilerplate codeinline
attribute to different functionsvalue_type
std::enable_if
on free functionsllvm-test-suite: intel/llvm-test-suite#1533