Skip to content

Commit

Permalink
[SYCL][HIP] Improve instructions for non standard installations (inte…
Browse files Browse the repository at this point in the history
…l#6145)

This was discussed in: intel#6091
  • Loading branch information
npmiller authored May 12, 2022
1 parent f8ec868 commit 09c3b46
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sycl/doc/GetStartedGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,16 @@ for the HIP installation:
* `SYCL_BUILD_PI_HIP_AMD_LIBRARY`: Path to HIP runtime library (default
`/opt/rocm/hip/lib/libamdhip64.so`).

These variables can be passed to `configure.py` using `--cmake-opt`, for example
with a ROCm installation in `/usr/local`:

```
python $DPCPP_HOME/llvm/buildbot/configure.py --hip \
--cmake-opt=-DSYCL_BUILD_PI_HIP_INCLUDE_DIR=/usr/local/rocm/hip/include \
--cmake-opt=-DSYCL_BUILD_PI_HIP_HSA_INCLUDE_DIR=/usr/local/rocm/hsa/include \
--cmake-opt=-DSYCL_BUILD_PI_HIP_AMD_LIBRARY=/usr/local/rocm/hip/lib/libamdhip64.so
```

### Build DPC++ toolchain with support for HIP NVIDIA

There is experimental support for DPC++ for HIP on Nvidia devices. Note as this
Expand Down

0 comments on commit 09c3b46

Please sign in to comment.