jhuber6 wrote: Yes, you can detect CUDA fatbins w/ magic bytes, though the difficulty is getting the appropriate ELF out since we rely on binary tooling, I wonder if there's some API for that on the NVIDIA side. https://github.com/llvm/llvm-project/pull/156259