https://github.com/gpmueller/stdexec-example
Examples of using the stdexec library for parallel computation
https://github.com/gpmueller/stdexec-example
Last synced: 12 months ago
JSON representation
Examples of using the stdexec library for parallel computation
- Host: GitHub
- URL: https://github.com/gpmueller/stdexec-example
- Owner: GPMueller
- License: apache-2.0
- Created: 2022-11-14T08:29:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-04T16:21:58.000Z (over 3 years ago)
- Last Synced: 2025-03-29T07:12:42.783Z (about 1 year ago)
- Language: C++
- Size: 300 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stdexec-example
Examples of using the stdexec library for parallel computation
## Build
Use the standard CPU scheduler
```
cmake . -B build -DCMAKE_CXX_COMPILER=clang++
cmake --build build
```
Use the CUDA GPU scheduler
```
cmake . -B build -DCMAKE_CXX_COMPILER=clang++ -DCUDA_HOST_COMPILER=clang++ -DCMAKE_CUDA_COMPILER=clang++ -DSTDEXEC_EXAMPLE_USE_CUDA=ON
cmake --build build
```