From 1f11cabcbbfb0750de8d4658a240c3f91668bdf5 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Thu, 21 Jul 2022 13:49:37 +0530 Subject: [PATCH] SWDEV-340007 - make correction in readme.md (#2817) Change-Id: Icbf61dc36ae7944173399f89fa68058e25e154c2 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 39165993cc..575fdd061a 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,9 @@ Programmers familiar with CUDA will also be able to quickly learn and start codi Compute kernels are launched with the "hipLaunchKernelGGL" macro call. Here is simple example showing a snippet of HIP API code: -```cpp -hipMalloc(&A_d, Nbytes)); -hipMalloc(&C_d, Nbytes)); +``` +hipMalloc(&A_d, Nbytes); +hipMalloc(&C_d, Nbytes); hipMemcpy(A_d, A_h, Nbytes, hipMemcpyHostToDevice);