From 960dafee94027ef3fea47e59c7de2c387ac1233f Mon Sep 17 00:00:00 2001 From: Harkirat Gill Date: Tue, 1 Oct 2024 12:43:58 -0400 Subject: [PATCH] Fix memcpyToSymbol example --- docs/how-to/hip_porting_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to/hip_porting_guide.md b/docs/how-to/hip_porting_guide.md index 1bcbd3ea8e..8e123c105a 100644 --- a/docs/how-to/hip_porting_guide.md +++ b/docs/how-to/hip_porting_guide.md @@ -403,7 +403,7 @@ Device Code: __constant__ int Value[LEN]; -__global__ void Get(hipLaunchParm lp, int *Ad) +__global__ void Get(int *Ad) { int tid = threadIdx.x + blockIdx.x * blockDim.x; Ad[tid] = Value[tid];