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

[XLA/GPU] clear operands for removed HLOs. #43746

Merged

Conversation

trentlo
Copy link
Contributor

@trentlo trentlo commented Oct 2, 2020

This avoids possible accesses to the Null operands.

Operands of a removed instruction is not cleared but only set to NULL. A more sound behavior should be to also clear the operands for the removed instructions, so that we avoid potential accesses to the NULL operands.

This fixed a crash case encountered by #43051.

This avoids possible accesses to the Null operands.
@google-ml-butler google-ml-butler bot added the size:XS CL Change Size: Extra Small label Oct 2, 2020
@trentlo
Copy link
Contributor Author

trentlo commented Oct 2, 2020

@thomasjoerg, the change ran through NV's internal CI tests well. Please help to take a look and let's see if it can also run through your CIs well.

@gbaned gbaned self-assigned this Oct 3, 2020
@gbaned gbaned added the comp:xla XLA label Oct 3, 2020
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Oct 3, 2020
@trentlo
Copy link
Contributor Author

trentlo commented Oct 6, 2020

@thomasjoerg
Could you help to take a look of this one liner? Thanks!

PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Oct 7, 2020
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Oct 7, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Oct 7, 2020
@copybara-service copybara-service bot merged commit 6f2bb31 into tensorflow:master Oct 8, 2020
PR Queue automation moved this from Approved by Reviewer to Merged Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes comp:xla XLA ready to pull PR ready for merge process size:XS CL Change Size: Extra Small
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

5 participants