shiltian wrote: > ROCM_PATH doesn't always have a layout where the device libraries can be found Isn't this an issue in the user setup? I thought we have well-defined directory layout? https://github.com/llvm/llvm-project/pull/177346