[clang] [HIP] Fix comdat of template kernel handle (PR #66283)

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 13 13:44:10 PDT 2023


================
@@ -43,6 +44,9 @@ __global__ void kernelfunc() {}
 
 __global__ void kernel_decl();
 
+template<class T>
+__global__ void temp_kernel_decl(T x);
----------------
Artem-B wrote:

Nit: rename temp -> template? `temp` is strongly associated with 'temporary'.

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


More information about the cfe-commits mailing list