You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ref: https://github.com/ROCm/clr/blob/amd-staging/hipamd/src/hip_code_object.cpp#L77
totalSize element was introduced in v2 of this feature.
llvm-18 will produce v1.
When a v1 is encountered, the next field 'uncompressedBinarySize' is used which is wrong and will result in a segfault.
As a runtime, all the versions should be supported or if not flagged as a runtime error.
Operating System
Fedora Rawhide
CPU
ALL
GPU
ALL
ROCm Version
ROCm 6.2.3
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Hi @trixirt, thanks for bringing this to our attention. It should be straightforward for us to differentiate between v1 and v2 headers using the versionNumber field. I'll discuss this with the internal team to figure out how we want to handle this scenario.
Problem Description
Ref: https://github.com/ROCm/clr/blob/amd-staging/hipamd/src/hip_code_object.cpp#L77
totalSize element was introduced in v2 of this feature.
llvm-18 will produce v1.
When a v1 is encountered, the next field 'uncompressedBinarySize' is used which is wrong and will result in a segfault.
As a runtime, all the versions should be supported or if not flagged as a runtime error.
Operating System
Fedora Rawhide
CPU
ALL
GPU
ALL
ROCm Version
ROCm 6.2.3
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: