From 94b7856a1ad9e95f22c9f96f5927c59f6df32cd4 Mon Sep 17 00:00:00 2001 From: Michael LIAO Date: Mon, 25 Mar 2019 12:06:46 -0400 Subject: [PATCH] [hip] Fix typo in macro `hipLaunchKernel` [ROCm/hip commit: b3497824ec29deb8975faf837662b05fbdbe0bec] --- projects/hip/include/hip/hcc_detail/hip_runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/include/hip/hcc_detail/hip_runtime.h b/projects/hip/include/hip/hcc_detail/hip_runtime.h index 9e7bb618fe..62be5794fb 100644 --- a/projects/hip/include/hip/hcc_detail/hip_runtime.h +++ b/projects/hip/include/hip/hcc_detail/hip_runtime.h @@ -336,7 +336,7 @@ typedef int hipLaunchParm; #define hipLaunchKernel(kernelName, numblocks, numthreads, memperblock, streamId, ...) \ do { \ - kernelName<<<(numblocks), (numthreads), (memperblock), (streamId)>>>(hipLaunchParam{}, ##__VA_ARGS__); \ + kernelName<<<(numblocks), (numthreads), (memperblock), (streamId)>>>(hipLaunchParm{}, ##__VA_ARGS__); \ } while (0) #define hipLaunchKernelGGL(kernelName, numblocks, numthreads, memperblock, streamId, ...) \