1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2024-11-28 19:14:22 +00:00
hpc-2022-g3/README.md

55 lines
1.3 KiB
Markdown
Raw Normal View History

2022-11-17 19:59:38 +00:00
\[ **Stefano Pigozzi** + **Caterina Gazzotti** + **Fabio Zanichelli** | Topic OpenMP | High Performance Computing Laboratory | Unimore \]
2022-11-14 15:21:17 +00:00
2022-11-28 13:30:41 +00:00
# C code optimization using NVIDIA CUDA
2022-11-14 15:21:17 +00:00
2022-11-28 13:30:41 +00:00
> ### Assignment #2
2022-11-14 15:21:17 +00:00
>
> Every team is called to optimize (parallellize) the execution time of the assigned applications on multi-processor system.
>
> #### Expected outcomes
>
> * Repository of the code (github/gitlab is ok, or .zip )
> * Oral presentation (5 min + 5 min Q&A) of your work
>
> #### Assigned application
>
> Group 3: `OpenMP/linear-algebra/kernels/atax`
2022-11-17 19:59:38 +00:00
## Results
2022-12-06 14:37:18 +00:00
Results can be read in the ex.txt file where we stored all the
experiments done.
2022-11-17 19:59:38 +00:00
### Validation
2022-11-28 13:30:41 +00:00
* Compiler used: **nvcc**
2022-12-06 14:37:18 +00:00
* Device used: `JETSON NANO DEVELOPER KIT`
* Built on: Mon_Mar_11_22:13:24_CDT_2019 Cuda compilation tools, release 10.0, V10.0.326
2022-11-17 19:59:38 +00:00
To reproduce the obtained results:
2022-12-02 00:10:05 +00:00
1. Clone the repository on @Steffo99's computer:
2022-11-17 19:59:38 +00:00
```console
2022-11-28 13:30:41 +00:00
$ git clone https://github.com/Steffo99/unimore-hpc-assignments
2022-11-17 19:59:38 +00:00
```
2022-11-28 16:08:26 +00:00
2. Checkout the exact commit the tests were executed on:
2022-11-17 19:59:38 +00:00
```console
2022-12-06 14:37:18 +00:00
$ git checkout d13a9b786a53d5195ae17ef7afa776e2600ce8e0
2022-11-17 19:59:38 +00:00
```
2022-11-28 16:08:26 +00:00
3. Access our group's assigned folder:
2022-11-17 19:59:38 +00:00
```console
2022-11-28 16:08:26 +00:00
$ cd unimore-hpc-assignments/atax
2022-11-17 19:59:38 +00:00
```
4. Run the benchmarking script:
```console
$ make bench
```