TBB Instructions for Spack

This commit is contained in:
Kaan Olgu 2023-06-17 11:38:50 +00:00
parent 61f23698e5
commit 0040130b67

View File

@ -208,7 +208,14 @@
| dir | Download the Raja release from github repository and extract the zip file to a directory you want and target this directory with `dir` flag | | dir | Download the Raja release from github repository and extract the zip file to a directory you want and target this directory with `dir` flag |
| backend | 2 different backend options: <br />- cuda <br />- omp | | backend | 2 different backend options: <br />- cuda <br />- omp |
|offload| Choose offloading platform `offload= [cpu]/[nvidia]` | |offload| Choose offloading platform `offload= [cpu]/[nvidia]` |
```shell ```shell
# Example 1: For CPU offload with backend OMP # Example 1: For CPU offload with backend OMP
$ spack install babelstream +raja offload=cpu backend=omp dir=/home/dir/raja $ spack install babelstream +raja offload=cpu backend=omp dir=/home/dir/raja
```
## TBB
```shell
# Example:
$ spack install babelstream +tbb
``` ```