forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rocm] Fix crash when executable source information is missing (iree-…
…org#16805) This commit fixes crashes when optional executable source stage locations and/or files are not present: ``` runtime/src/iree/schemas/rocm_executable_def_reader.h:167: iree_hal_rocm_StageLocationsDef_table_t iree_hal_rocm_StageLocationsDef_vec_at (iree_hal_rocm_StageLocationsDef_vec_t, size_t): Assertion `flatbuffers_vec_len(vec) > (i) && "index out of range"' failed. ``` Now we more closely mirror how Vulkan side is done for it.
- Loading branch information
1 parent
2395046
commit ee32fc7
Showing
3 changed files
with
119 additions
and
83 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
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