Issue 134771
Summary [AMDGPU] Improve the interaction between COV and device libraries
Labels backend:AMDGPU, clang:driver
Assignees
Reporter shiltian
    Right now, if the required device libraries for a given ABI version can't be found, we emit a hard error. For example, the default is currently COV6, which requires ROCm 6.3. If an older ROCm version is detected and used by the Clang driver, the compilation immediately fails with an error like:

```
clang++: error: cannot find ROCm device library for ABI version 6; provide its path via '--rocm-path' or '--rocm-device-lib-path', or pass '-nogpulib' to build without ROCm device library
```

This behavior isn't very user friendly. Ideally, we should emit a warning instead and fall back to the highest supported ABI version available in the detected ROCm installation.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to