================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits