Skip to content

Commit

Permalink
Fix memcpyToSymbol example
Browse files Browse the repository at this point in the history
  • Loading branch information
harkgill-amd authored and neon60 committed Oct 2, 2024
1 parent e05587c commit 960dafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how-to/hip_porting_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 960dafe

Please sign in to comment.