b-sumner wrote: If we make those functions used, I think the runtime will end up setting up every kernel for device malloc and there will be performance complaints. https://github.com/llvm/llvm-project/pull/134832