Skip to content

Commit 4282b3c

Browse files
committed
[SYCL][HIP] Add SYCL_CLANG_EXTRA_FLAGS docs
1 parent bc100db commit 4282b3c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sycl/doc/GetStartedGuide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,11 @@ skipped.
502502
If CUDA support has been built, it is tested only if there are CUDA devices
503503
available.
504504
505+
If testing with HIP for AMD, the lit tests will use `gfx906` as the default
506+
architecture. It is possible to change it by adding
507+
`-Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=<target>` to the CMake
508+
variable `SYCL_CLANG_EXTRA_FLAGS`.
509+
505510
#### Run DPC++ E2E test suite
506511
507512
Follow instructions from the link below to build and run tests:

0 commit comments

Comments
 (0)