Commit bb4f997
committed
[HIP] Add a workaround for crashes on gfx1031
When calling hipMemGetInfo, an internal problem querying the amount of
available global memory causes the function to return
hipErrorInvalidValue. This is indistinguishable from us doing something
wrong, and it (rightly) causes an assertion failure. This is a
particularly egregious issue because we query this property and crash
during the execution of `sycl-ls --verbose`.
This architecture is not officially supported by HIP, so we can't file a
bug and shouldn't expect an official fix for this issue any time soon.
It is possible, however, that we'll need to extend this workaround with
other architectures over time.1 parent 4a7bf7b commit bb4f997
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
727 | 739 | | |
728 | 740 | | |
729 | 741 | | |
| |||
0 commit comments