CUDA on WSL2 requires your Windows from Dev Channel (build version 20145 or later), current Windows 11 (version 21H2) has build 22000. As of time of writing, Microsoft just announced that next version is going to be on Beta channel, so stability-wise it should be fine.
todo: packages
- Clone this repo using your favorite method.
- You need to pull the
libwb
submodule. Useinit
andrecursive
to make sure you fetch all new submodules.git submodule update --init --recursive
- Create a build folder, we are going to use
build
here. Generated build files and configs will store here.mkdir build cd build
- Let
cmake
do its magic and compile!This should first compilecmake .. make
libwb
and then compile MP0 with ease. Output binarymp0
is copied tobin
(same level as yourbuild
folder). - Run your MP0.
./mp0
OS | CMake | CXX | CUDA |
---|---|---|---|
WSL2 5.10.60.1 | 3.16.3 | gcc 9.3.0 | 11.2.152 |