[clang] [llvm] [HIP] Support managed variables using the new driver (PR #123437)

Yaxun Liu via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 11:08:22 PST 2025


================
@@ -353,6 +353,16 @@ Function *createRegisterGlobalsFunction(Module &M, bool IsHIP,
   FunctionCallee RegVar = M.getOrInsertFunction(
       IsHIP ? "__hipRegisterVar" : "__cudaRegisterVar", RegVarTy);
 
+  // Get the __cudaRegisterSurface function declaration.
----------------
yxsamliu wrote:

typo

https://github.com/llvm/llvm-project/pull/123437


More information about the llvm-commits mailing list