[PATCH] D140663: CUDA/HIP: Use kernel name to map to symbol
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 19 12:48:23 PST 2023
yaxunl added inline comments.
================
Comment at: clang/test/CodeGenCUDA/incomplete-func-ptr-type.cu:22
+// CHECK: define internal void @__hip_register_globals(ptr %0) {
+// CHECK: %1 = call i32 @__hipRegisterFunction(ptr %0, ptr @_Z4kern7TempValIjE, ptr @0, ptr @0, i32 -1, ptr null, ptr null, ptr null, ptr null, ptr null)
+
----------------
pls also check @0, which is the device side kernel name.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140663/new/
https://reviews.llvm.org/D140663
More information about the cfe-commits
mailing list