https://github.com/kmpeng approved this pull request. LGTM, though I'm wondering if the offload tests you wrote pass on Vulkan without backend changes here? I didn't try running them, but Copilot seems to think they won't pass. https://github.com/llvm/llvm-project/pull/239434