jdenny-ornl wrote: > So the problem is the names getting overwritten between the host and the device? No. The problem is the default name is temporary file because the main output file (-o) is a temporary file. https://github.com/llvm/llvm-project/pull/149003