-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid treating pointer to bool as bool when handling kir::asm in code…
…gen (#3274) **Issue:** #3273 The original failure happened in test `DistributedTransformerTest.Backward/__bfloat` when shared memory persistent is used with async copy (after #3217, not merged yet). The reason is pointer to bool was treated as bool when handling kir::asm in codegen **Fix:** If pointer, return pointer type not the type it points to **Results:** Added a unit test, error is fixed.
- Loading branch information
Showing
2 changed files
with
75 additions
and
8 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