[clang] [llvm] [HIP] Support managed variables using the new driver (PR #123437)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 11:10:39 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.
----------------
jhuber6 wrote:
Fixed
https://github.com/llvm/llvm-project/pull/123437
More information about the llvm-commits
mailing list