Skip to content

[PI][HIP] warning: Linking two modules of different target triples: amdgcn-unknown-amdhsa and amdgcn-amd-amdhsa #6922

@TejaX-Alaghari

Description

@TejaX-Alaghari

While compiling a simple SYCL code with LLVM for HIP backend, the following warning was reported:

warning: linking module 'llvm/build/install/lib/clang/16.0.0/../../clc/remangled-l64-signed_char.libspirv-amdgcn--amdhsa.bc': Linking two modules of different target triples: 'llvm/build/install/lib/clang/16.0.0/../../clc/remangled-l64-signed_char.libspirv-amdgcn--amdhsa.bc' is 'amdgcn-unknown-amdhsa' whereas 'hip_interop_test_rocblas.cpp' is 'amdgcn-amd-amdhsa'

What is this warning about and how can this warning be suppressed from the code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    hipIssues related to execution on HIP backend.libclclibclc project related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions