Skip to content

Error when running benchmark - undefined reference to __extendhfsf2 #524

@jjennychen

Description

@jjennychen

When running benchmarks, the following error occurred:

main.cu:(.text+0x14e): undefined reference to `__extendhfsf2'
/usr/bin/ld: main.cu:(.text+0x161): undefined reference to `__extendhfsf2'
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)

(It was suggested that it might be a shuffle intrinsic)

To reproduce the error, please refer to the steps in #510 and replace the "bh-hip" benchmark with "ert-hip" (the same issue also happens in "addBiasResidualLayerNorm-hip". The error should then show up during compilation.

Thank you!

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