Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anras5/parallel-computing
Comparing CPU and GPU
https://github.com/anras5/parallel-computing
cuda gpu openmp
Last synced: 18 days ago
JSON representation
Comparing CPU and GPU
- Host: GitHub
- URL: https://github.com/anras5/parallel-computing
- Owner: anras5
- Created: 2023-06-08T17:17:59.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-06-15T14:14:43.000Z (over 1 year ago)
- Last Synced: 2024-11-20T23:26:18.867Z (3 months ago)
- Topics: cuda, gpu, openmp
- Language: Jupyter Notebook
- Homepage:
- Size: 367 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parallel Computing
## How to run
### CPU programs
```commandline
mkdir build
cd build
cmake ..
cmake --build .
```### GPU program
You may want to use `nvidia-run.ps1` script before running `nvcc` compiler. Be sure to set up PATH variables in the
script before running it.```commandline
mkdir build
cd build
mkdir cuda
cd cuda
nvcc ../../src/cuda_program.cu -o cuda_program
```### Generate CSV
```commandline
python3 generate.py
```### Run
```commandline
.\run.ps1
```### Run Jupyter Notebook
```commandline
python -m pip install requirements.txt
```