From 98a6bb683ad04771b5214dedf8be09feb9a0dc0d Mon Sep 17 00:00:00 2001 From: Rick Ho Date: Mon, 6 Jan 2020 15:04:21 +0800 Subject: [PATCH] Fix minor explainations in the kernel guide (#1775) [ROCm/hip commit: 7d27247814d5eae33892ec508ff62fc6e8d8e160] --- projects/hip/docs/markdown/hip_kernel_language.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip/docs/markdown/hip_kernel_language.md b/projects/hip/docs/markdown/hip_kernel_language.md index 9e2d0409f7..04847101f6 100644 --- a/projects/hip/docs/markdown/hip_kernel_language.md +++ b/projects/hip/docs/markdown/hip_kernel_language.md @@ -119,7 +119,7 @@ __global__ MyKernel(hipLaunchParm lp, float *A, float *B, float *C, size_t N) ... } -MyKernel<<>> (a,b,c,n); +MyKernel<<>> (a,b,c,n); // Alternatively, kernel can be launched by // hipLaunchKernel(MyKernel, dim3(gridDim), dim3(groupDim), 0/*dynamicShared*/, 0/*stream), a, b, c, n); @@ -153,7 +153,7 @@ void callMyKernel() unsigned N = 1000000; const unsigned blockSize = 256; - MyKernel<<>> (a,b,c,n); + MyKernel<<>> (a,b,c,n); // Alternatively, kernel can be launched by // hipLaunchKernel(MyKernel, dim3(N/blockSize), dim3(blockSize), 0, 0, a,b,c,N); }