Skip to content

[Feature]: Optional HIP backend at run time #230

@cgmb

Description

@cgmb

Suggestion Description

The HIP support in rocALUTION is currently optional at build time, but it would be preferable if it were optional at run time. For this, it would need to be possible to enable or disable the HIP support in rocALUTION without affecting librocalution.so.

Pushing the choice to run time would make it easy to package librocalution_hip.so separately. The dependencies for the HIP backend are quite large, so it's nice to allow users to skip installing them if not needed.

The librocalution_hip.so shared library would need to be loaded like a plugin with dlopen rather than being registered as DT_NEEDED (which occurs when librocalution_hip.so is linked into librocalution.so with target_link_libraries).

Operating System

No response

GPU

No response

ROCm Component

rocALUTION

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions