Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GpuCast.hasSideEffects now checks to see if the child expression has side-effects #5127

Merged
merged 6 commits into from
Apr 1, 2022

Conversation

andygrove
Copy link
Contributor

Signed-off-by: Andy Grove andygrove@nvidia.com

Closes #5125

When expressions with side-effects were wrapped in a CAST then we treated them as though they did not have side-effects because the GpuCast.hasSideEffects method was not checking whether the child expression had side-effects.

…side effects

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove added the bug Something isn't working label Apr 1, 2022
@andygrove andygrove added this to the Mar 21 - Apr 1 milestone Apr 1, 2022
@andygrove andygrove self-assigned this Apr 1, 2022
@andygrove andygrove marked this pull request as draft April 1, 2022 18:13
@andygrove andygrove changed the title GpuCast.hasSideEffects now checks to see if the child expression has side-effects WIP: GpuCast.hasSideEffects now checks to see if the child expression has side-effects Apr 1, 2022
@andygrove andygrove changed the base branch from branch-22.06 to branch-22.04 April 1, 2022 18:45
@andygrove andygrove changed the title WIP: GpuCast.hasSideEffects now checks to see if the child expression has side-effects GpuCast.hasSideEffects now checks to see if the child expression has side-effects Apr 1, 2022
@andygrove andygrove marked this pull request as ready for review April 1, 2022 18:46
Copy link
Contributor

@jlowe jlowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor whitespace nit otherwise lgtm.

jlowe
jlowe previously approved these changes Apr 1, 2022
@jlowe
Copy link
Contributor

jlowe commented Apr 1, 2022

build

@andygrove
Copy link
Contributor Author

build

jlowe
jlowe previously approved these changes Apr 1, 2022
@jlowe
Copy link
Contributor

jlowe commented Apr 1, 2022

build

@andygrove andygrove merged commit 4f374cf into NVIDIA:branch-22.04 Apr 1, 2022
@andygrove andygrove deleted the cast-side-effect branch April 1, 2022 23:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] GpuCast.hasSideEffects does not check if child expression has side effects
2 participants