[x] Replace -lm.lib -> -lmsvcrt.lib in build/build.ninja
[x] Run build command after the fix: cmake --build . --config Release
INFERENCE
[x] Install HIP SDK so that it has rocblas and rocm in C:\Program Files\AMD\ROCm\5.7\bin (We can discover the ability to package this and put into the same directory similar to what we did with CUDA)
[x] Usage
cp build_deps/bin/zlib.dll build/
$env:HIP_VISIBLE_DEVICES = "1" # Choose external card instead of integrated card
$env:HSA_OVERRIDE_GFX_VERSION = "11.0.0" # AMD Radeon 7600 (however as the target is for multiple targets, it should be fine. However in order to make it work with
.\nitro.exe
Problem
Success Criteria
Steps BUILD
[x] Register github action runner for Windows AMD
[x] Install Visual Studio with C++
[x] Install HIP SDK for Windows
[x] choco install cmake llvm ninja strawberryperl
[x] PATH=C:\Program Files\AMD\ROCm\5.7\bin
[x] Build command
[x] Replace
-lm.lib
->-lmsvcrt.lib
inbuild/build.ninja
[x] Run build command after the fix:
cmake --build . --config Release
INFERENCE
rocblas
androcm
inC:\Program Files\AMD\ROCm\5.7\bin
(We can discover the ability to package this and put into the same directory similar to what we did with CUDA)