RossBrunton wrote: @callumfare Out of interest, is there a reason these allocations are stored in the main context, rather than inside the platform/device handles? https://github.com/llvm/llvm-project/pull/153786