From ade47bd848314a4445973dbfdb1ce1a1370e0efd 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) --- hipamd/docs/markdown/hip_kernel_language.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hipamd/docs/markdown/hip_kernel_language.md b/hipamd/docs/markdown/hip_kernel_language.md index 9e2d0409f7..04847101f6 100644 --- a/hipamd/docs/markdown/hip_kernel_language.md +++ b/hipamd/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); }