From b1af193f6fc72e3a089f92bf92fbb9fe048277c9 Mon Sep 17 00:00:00 2001 From: stas Date: Tue, 20 Feb 2024 19:14:25 -0500 Subject: [PATCH] fixed spelling --- examples/c++/multi-gpu-poseidon/README.md | 3 ++- examples/c++/multi-gpu-poseidon/example.cu | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/c++/multi-gpu-poseidon/README.md b/examples/c++/multi-gpu-poseidon/README.md index 4fbae333..5fb110fe 100644 --- a/examples/c++/multi-gpu-poseidon/README.md +++ b/examples/c++/multi-gpu-poseidon/README.md @@ -1,4 +1,4 @@ -# Icicle example: using muliple GPU to hash large dataset +# Icicle example: using multiple GPU to hash large dataset ## Best-Practices @@ -31,6 +31,7 @@ ctx0.device_id=0; device_context::DeviceContext ctx1 = device_context::get_default_device_context(); ctx1.device_id=1; ``` + 4. Finally, spawn the threads and wait for their completion ```c++ diff --git a/examples/c++/multi-gpu-poseidon/example.cu b/examples/c++/multi-gpu-poseidon/example.cu index 6e5d1d56..edb12f9b 100644 --- a/examples/c++/multi-gpu-poseidon/example.cu +++ b/examples/c++/multi-gpu-poseidon/example.cu @@ -57,7 +57,7 @@ int main() { const unsigned size_row = (1<<30); const unsigned nof_partitions = 64; const unsigned size_partition = size_row / nof_partitions; - // layers is allocated only for one partition, need to resuse for different partitions + // layers is allocated only for one partition, need to reuse for different partitions const uint32_t size_layers = size_col * size_partition; nvmlInit();