mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 03:45:29 +03:00
Run correct file in sum example
This commit is contained in:
parent
d5847178df
commit
ba12022015
@ -172,12 +172,12 @@ bend run parallel_sum.bend -s
|
|||||||
|
|
||||||
Or you can run it using C interpreter (Parallel)
|
Or you can run it using C interpreter (Parallel)
|
||||||
```sh
|
```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)
|
If you have a NVIDIA GPU, you can also run in CUDA (Massively parallel)
|
||||||
```sh
|
```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.
|
In Bend, it can be parallelized by just changing the run command. If your code **can** run in parallel it **will** run in parallel.
|
||||||
|
Loading…
Reference in New Issue
Block a user