Skip to content

[Issue]: offload compress v1 unsupported #99

@trixirt

Description

@trixirt

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions