-
Notifications
You must be signed in to change notification settings - Fork 294
Add support for some math functions inside kernels #2989
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
Conversation
Some of the math functions on the list only appear in MLIR after LLVM 16. However, we can add support for the rest to the C++ bridge. This patch adds support for sin, cos, tan, exp, log, ceil, and floor. Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
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. Thanks @schweitzpgi.
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
…42. (NVIDIA#2989) Some of the math functions on the list only appear in MLIR after LLVM 16. However, we can add support for the rest to the C++ bridge. This patch adds support for sin, cos, tan, exp, log, ceil, and floor. Signed-off-by: Eric Schweitz <eschweitz@nvidia.com> Signed-off-by: Anna Gringauze <agringauze@nvidia.com>
Some of the math functions on the list only appear in MLIR after LLVM 16. However, we can add support for the rest to the C++ bridge. This patch adds support for sin, cos, tan, exp, log, ceil, and floor.
See issue #2942