From 30f898307afc17c2c675dde08128c985c267440c Mon Sep 17 00:00:00 2001 From: Saeid Ghafouri Date: Fri, 2 Aug 2024 19:25:08 +0100 Subject: [PATCH] fixed typo in the answer --- Chapters/Ch02 - Data Parallel Computing/exercises/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Chapters/Ch02 - Data Parallel Computing/exercises/README.md b/Chapters/Ch02 - Data Parallel Computing/exercises/README.md index 0c09ac6..49dc001 100644 --- a/Chapters/Ch02 - Data Parallel Computing/exercises/README.md +++ b/Chapters/Ch02 - Data Parallel Computing/exercises/README.md @@ -56,8 +56,8 @@ Each thread calculates 2 elements so the number of elements processed by the pre **Correct answer:** C ``` -ceil(8000/1024) = 4 blocks -4 blocks * 1024 threads per blocks = 8192 threads +ceil(8000/1024) = 8 blocks +8 blocks * 1024 threads per blocks = 8192 threads ``` --- @@ -124,4 +124,4 @@ __host__ __device__ function_return_type function_name(...) { ... } -``` \ No newline at end of file +```