Skip to content

[ESIMD] Enable some of intrinsic math ops on wrapper element types. #5271

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

Merged
merged 7 commits into from
Jan 12, 2022

Conversation

kbobrovs
Copy link
Contributor

@kbobrovs kbobrovs commented Jan 7, 2022

  • Enable
    • inv, log, exp, sqrt, sqrt_ieee, rsqrt, sin, cos, pow, saturation
      on wrapper element types (sycl::half at the moment)
  • Fix host implementation to support wrapper types
  • TODO some intrinsics like rounding, inverse trigonometric functions
    are still not supported - will cause compile-time error

Complementary E2E test: intel/llvm-test-suite#711

Signed-off-by: Konstantin S Bobrovsky [email protected]

- Enable
  * inv, log, exp, sqrt, sqrt_ieee, rsqrt, sin, cos, pow, saturation
  on wrapper element types (sycl::half at the moment)
- Fix host implementation to support wrapper types
- TODO some intrinsics like rounding, inverse trigonometric functions
  are still not supported - will cause compile-time error

Signed-off-by: Konstantin S Bobrovsky <[email protected]>
Signed-off-by: Konstantin S Bobrovsky <[email protected]>
Signed-off-by: Konstantin S Bobrovsky <[email protected]>
Signed-off-by: Konstantin S Bobrovsky <[email protected]>
@kbobrovs
Copy link
Contributor Author

/verify with intel/llvm-test-suite#711

@kbobrovs
Copy link
Contributor Author

The precommit failure is a single test - ext_math.cpp. It is expected and is fixed by intel/llvm-test-suite#711

Co-authored-by: Vyacheslav Klochkov <[email protected]>
@kbobrovs kbobrovs requested a review from v-klochkov January 11, 2022 20:49
v-klochkov
v-klochkov previously approved these changes Jan 11, 2022
@kbobrovs
Copy link
Contributor Author

@v-klochkov, I just fixed issue similar to #5278, please re-approve

@kbobrovs kbobrovs requested a review from v-klochkov January 12, 2022 00:42
@kbobrovs
Copy link
Contributor Author

/verify with intel/llvm-test-suite#711

@kbobrovs
Copy link
Contributor Author

re-run with intel/llvm-test-suite#711 shows single unrelated failure on Linux:
DeprecatedFeatures/get_backend.cpp

@kbobrovs kbobrovs merged commit eb4b529 into intel:sycl Jan 12, 2022
@kbobrovs kbobrovs deleted the half_ext_math branch January 13, 2022 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants