Skip to content
Snippets Groups Projects
Verified Commit edab7d69 authored by baptiste.coudray's avatar baptiste.coudray
Browse files

Updated doc

parent 378dba8c
No related branches found
No related tags found
No related merge requests found
No preview for this file type
# Distributed High-Performance Computing
\cimgl{figs/distributed_systems.png}{width=\linewidth}{A Distributed High-Performance Computing}{Source: Created by Baptiste Coudray}{fig:dd-sys}
\cimgl{figs/distributed_systems.png}{width=\linewidth}{A Distributed High-Performance Computing System}{Source: Created by Baptiste Coudray}{fig:dd-sys}
As we can see in \ref{fig:dd-sys}, distributed systems are groups of networked computers that share a common goal. They are used to increasing computing power and solve a complex problem faster than a single machine [@noauthor_distributed_2021]. In order to do that the problem's data are divided along each computer which can be done by communicating with each other via message passing. Each computer executes the same program (which is a distributed program) but on a different data. The algorithm is applied using one of this three computing methods:
......
......@@ -31,15 +31,7 @@ futhark opencl fact.fut
echo 12 | ./fact
```
To compile the Futhark code, we have to specify a backend; this one allows us to compile our code in:
* (+OpenCL) (opencl, pyopencl),
* (+CUDA) (cuda),
* multi-thread (+POSIX) C (multicore),
* sequential C (c),
* Python sequential (python).
Here we compile in (+OpenCL) to run the program on the graphics card, and we run the program with the number 12 as the parameter.
To compile the Futhark code, we have to specify a backend; Here we compile in (+OpenCL) to run the program on the graphics card, and we run the program with the number 12 as the parameter.
```
479001600i32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment