Merge pull request #555 from Ivniinvi/patch-1

Run correct file in sum example
This commit is contained in:
Nicolas Abril 2024-06-07 13:50:00 +00:00 committed by GitHub
commit cdf8a98bf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -172,12 +172,12 @@ bend run parallel_sum.bend -s
Or you can run it using C interpreter (Parallel)
```sh
bend run-c sequential_sum.bend -s
bend run-c parallel_sum.bend -s
```
If you have a NVIDIA GPU, you can also run in CUDA (Massively parallel)
```sh
bend run-cu sequential_sum.bend -s
bend run-cu parallel_sum.bend -s
```
In Bend, it can be parallelized by just changing the run command. If your code **can** run in parallel it **will** run in parallel.