mirror of
https://github.com/pseXperiments/icicle.git
synced 2026-01-08 23:17:54 -05:00
fixed spelling
This commit is contained in:
@@ -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++
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user