[PATCH] D140663: CUDA/HIP: Use kernel name to map to symbol

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 10 07:19:41 PST 2023


yaxunl added inline comments.


================
Comment at: clang/test/CodeGenCUDA/incomplete-func-ptr-type.cu:2
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -x hip %s -o - \
+// RUN: | FileCheck %s
+
----------------
need to check `_Z19__device_stub__kern7TempValIjE` generates the correct call of hipLaunchKernel using the correct handle.

also need to check hipRegisterFunction uses the correct function name and handle.


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