From 6af48e6c279df6cca76bf5ae934654a5f938cad0 Mon Sep 17 00:00:00 2001 From: Guoxin Sun Date: Wed, 12 Mar 2025 16:10:42 -0700 Subject: [PATCH] Update Basics of Basics.md --- .../01 CUDA Basics/Basics of Basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/05_Writing_your_First_Kernels/01 CUDA Basics/Basics of Basics.md b/05_Writing_your_First_Kernels/01 CUDA Basics/Basics of Basics.md index f6b1645..2c5d0c1 100644 --- a/05_Writing_your_First_Kernels/01 CUDA Basics/Basics of Basics.md +++ b/05_Writing_your_First_Kernels/01 CUDA Basics/Basics of Basics.md @@ -124,7 +124,7 @@ cudaMemcpy(device_array, host_array, size * sizeof(int), cudaMemcpyHostToDevice) #### cudaDeviceSynchronize() -By Defaukt CPU and GPU work together to minimise time but sometimes we need to make CPU wait until all GPU operations are complete. there we use `cudaDeviceSynchronize()`. +By default, CPU and GPU work together to minimise time but sometimes we need to make CPU wait until all GPU operations are complete. there we use `cudaDeviceSynchronize()`. - Useful when you need results before continuing - We will use it while performing benchmarks