579 B
579 B
Support more than 64 cores
If you want to use more than 64 cores in WSL2 (e.g. if you have AMD Threadripper 7980x), you can follow the steps:
-
Generate project
mkdir build cd build cmake ..
-
Open
build/Project.sln
and generate a x64 release build. -
Launch task manager, kill
wslservice.exe
process. -
Copy the generated
build/Release/computecore.dll
toC:\Program Files\WSL\
. -
Launch any WSL2 distribution, type
nproc
orlscpu
, you should see all cores.