Skip to content
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

Implement hasSideEffects for GpuGetArrayItem, GpuElementAt, GpuGetMapValue, GpuUnaryMinus, and GpuAbs #5097

Merged
merged 4 commits into from
Mar 31, 2022

Conversation

andygrove
Copy link
Contributor

Addresses most of the issues in #5041 but the issue will be left open and the remaining work completed in 22.06

This PR overrides hasSideEffects for the following expressions so that we evaluate them safely in conditional expressions.

  • GpuGetArrayItem
  • GpuElementAt
  • GpuGetMapValue
  • GpuUnaryMinus
  • GpuAbs

It may be easiest to review this PR one commit at a time since each commit has the test and the implementation change for a subset of these expressions.

Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove added this to the Mar 21 - Apr 1 milestone Mar 30, 2022
@andygrove andygrove self-assigned this Mar 30, 2022
@andygrove
Copy link
Contributor Author

build

@andygrove andygrove merged commit cca2b37 into NVIDIA:branch-22.04 Mar 31, 2022
@andygrove andygrove deleted the issue-5041 branch March 31, 2022 13:18
@sameerz sameerz added the bug Something isn't working label May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants