Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ if(THEROCK_ENABLE_CORE_AMDSMI)
CMAKE_ARGS
"-DCMAKE_VERBOSE_MAKEFILE=OFF"
"-DBUILD_TESTS=${THEROCK_BUILD_TESTING}"
"-DENABLE_WSL_BACKEND=ON"
# The backend dlopens librocdxg.so, which only exists when the
# wsl-rocdxg subproject is built.
"-DENABLE_WSL_BACKEND=${THEROCK_ENABLE_WSL_ROCDXG}"
BUILD_DEPS
therock-googletest
RUNTIME_DEPS
Expand Down
4 changes: 3 additions & 1 deletion docs/development/wsl_rocdxg.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ target-neutral artifact from the `rocm-systems` source set.
The relevant feature controls are:

- `THEROCK_ENABLE_WSL`: enables the WSL feature group.
- `THEROCK_ENABLE_WSL_ROCDXG`: enables the ROCDXG component.
- `THEROCK_ENABLE_WSL_ROCDXG`: enables the ROCDXG component. This also builds
amdsmi with `ENABLE_WSL_BACKEND=ON`, since that backend dlopens the
`librocdxg.so` produced here.

The `wsl-rocdxg` artifact group depends on `base`, and the artifact depends on
`core-hip`. This lets the WSL stage bootstrap from the same inbound Linux
Expand Down
Loading