diff --git a/docs/spack_instructions.md b/docs/spack_instructions.md index 93a2aff..9bd6d7f 100644 --- a/docs/spack_instructions.md +++ b/docs/spack_instructions.md @@ -153,4 +153,31 @@ # Example 3: OMP backend $ spack install babelstream +kokkos backend=omp dir= -``` \ No newline at end of file +``` + + +## SYCL2020 +* Instructions for installing the intel compilers are provided [here](https://spack.readthedocs.io/en/latest/build_systems/inteloneapipackage.html#building-a-package-with-icx) + +| Flag | Definition | +|-----------| ----------------------------------| +| implementation | 3 different implementation options:
- OneAPI-ICPX
- OneAPI-DPCPP
- Compute-CPP
| + +```shell +# Example 1: No implementation option specified (build for OneAPI-ICPX) + $ spack install babelstream%oneapi +sycl2020 + +# Example 2: OneAPI-DPCPP implementation + $ spack install babelstream +sycl2020 implementation=ONEAPI-DPCPP +``` + +## SYCL + +| Flag | Definition | +|-----------| ----------------------------------| +| implementation | 2 different implementation options:
- OneAPI-DPCPP
- Compute-CPP
| + +```shell +# Example 1: OneAPI-DPCPP implementation + $ spack install babelstream +sycl2020 implementation=ONEAPI-DPCPP +```