yxsamliu wrote: LGTM on HIP side. We could use it like we use device libraries since it is GPU-arch-neutral. I think it is good it have the bitcode lib built first and then consider adding object libs in a progressive way. https://github.com/llvm/llvm-project/pull/95304