[clang] [CIR][HIP] Support managed variables (PR #230910)
Arseniy Obolenskiy via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 12 08:55:30 PDT 2026
================
@@ -3262,6 +3262,15 @@ void LoweringPreparePass::buildCUDARegisterVars(cir::CIRBaseBuilderTy &builder,
FuncType::get({voidPtrPtrTy, voidPtrTy, voidPtrTy, voidPtrTy, intTy,
sizeTy, intTy, intTy},
voidTy));
+ // void __hipRegisterManagedVar(void **fatbinHandle, char *managedVar,
+ // char *var, const char *deviceName,
+ // size_t size, unsigned align);
----------------
aobolensk wrote:
not really, see above, it is HIP only
https://github.com/llvm/llvm-project/pull/230910
More information about the cfe-commits
mailing list