-
Notifications
You must be signed in to change notification settings - Fork 74k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PJRT:TFRT:CPU] Fix undefined behavior in JAX TFRT CPU backend.
Depending on the evaluation order of EnqueueWorkWhenReady, the vector read and move can cause undefined behavior. This shows up as incorrect results in open source which uses gcc. google/jax#7128 PiperOrigin-RevId: 383904018 Change-Id: Id96338110bea9a39a3ce74dd88dd45a267940047
- Loading branch information
1 parent
440849d
commit 8cc3ffa
Showing
2 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters