File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,16 @@ for the HIP installation:
244
244
* ` SYCL_BUILD_PI_HIP_AMD_LIBRARY ` : Path to HIP runtime library (default
245
245
` /opt/rocm/hip/lib/libamdhip64.so ` ).
246
246
247
+ These variables can be passed to ` configure.py ` using ` --cmake-opt ` , for example
248
+ with a ROCm installation in ` /usr/local ` :
249
+
250
+ ```
251
+ python $DPCPP_HOME/llvm/buildbot/configure.py --hip \
252
+ --cmake-opt=-DSYCL_BUILD_PI_HIP_INCLUDE_DIR=/usr/local/rocm/hip/include \
253
+ --cmake-opt=-DSYCL_BUILD_PI_HIP_HSA_INCLUDE_DIR=/usr/local/rocm/hsa/include \
254
+ --cmake-opt=-DSYCL_BUILD_PI_HIP_AMD_LIBRARY=/usr/local/rocm/hip/lib/libamdhip64.so
255
+ ```
256
+
247
257
### Build DPC++ toolchain with support for HIP NVIDIA
248
258
249
259
There is experimental support for DPC++ for HIP on Nvidia devices. Note as this
You can’t perform that action at this time.
0 commit comments