- Notifications
You must be signed in to change notification settings - Fork3.3k
Commitfdedc80
[Mosaic GPU] Improve error handling in Mosaic GPU custom call.
Replace `fprintf(stderr)` and `abort()` calls with `absl::Status` returns for various error conditions.It seems it was copied from the legacy custom call implementation which did not support error handling.PiperOrigin-RevId: 8374753671 parent9138c20 commitfdedc80
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
643 | | - | |
| 642 | + | |
644 | 643 | | |
645 | 644 | | |
646 | 645 | | |
647 | 646 | | |
648 | | - | |
649 | | - | |
| 647 | + | |
650 | 648 | | |
651 | 649 | | |
652 | 650 | | |
653 | | - | |
654 | | - | |
655 | | - | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| |||
0 commit comments
Comments
(0)