Skip to content

Start to configure+build rocBLAS on Windows. #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 11, 2025

Conversation

ScottTodd
Copy link
Member

Progress on #36.

This gets rocBLAS configuring and partially building. Currently blocked by errors like these (see #342):

[build] -- Configuring done (0.9s)
[build] -- Generating done (0.4s)
[build] -- Build files have been written to: D:/projects/TheRock/build
[build] [1/4   0% :: 0.009] Re-checking globbed directories...
[build] [1/6  16% :: 345.309] Building sub-project rocBLAS (in background)
[build] FAILED: math-libs/BLAS/rocBLAS/stamp/build.stamp D:/projects/TheRock/build/math-libs/BLAS/rocBLAS/stamp/build.stamp 
[build] C:\Windows\system32\cmd.exe /C "cd /D D:\projects\TheRock\build\math-libs\BLAS\rocBLAS\build && d:\projects\TheRock\.venv\Scripts\python D:/projects/TheRock/build_tools/teatime.py --log-timestamps --label rocBLAS --interactive D:/projects/TheRock/build/logs/rocBLAS_build.log -- "C:/Program Files/CMake/bin/cmake.exe" -E env -- "C:/Program Files/CMake/bin/cmake.exe" --build D:/projects/TheRock/build/math-libs/BLAS/rocBLAS/build && "C:\Program Files\CMake\bin\cmake.exe" -E touch D:/projects/TheRock/build/math-libs/BLAS/rocBLAS/stamp/build.stamp"
[build] [rocBLAS] [1/2   0% :: 0.007] Re-checking globbed directories...
[build] [rocBLAS] [66/454   0% :: 11.232] Building CXX object library/src/CMakeFiles/rocblas.dir/blas3/rocblas_syrkx_herkx_kernels.cpp.obj
[build] [rocBLAS] FAILED: library/src/CMakeFiles/rocblas.dir/blas3/rocblas_syrkx_herkx_kernels.cpp.obj 
[build] [rocBLAS] ccache D:\projects\TheRock\build\core\clr\dist\lib\llvm\bin\clang++.exe -DROCBLAS_BETA_FEATURES_API -DROCBLAS_INTERNAL_API -DROCM_USE_FLOAT16 -DUSE_PROF_API=1 -D__HIP_PLATFORM_AMD__=1 -Drocblas_EXPORTS -ID:/projects/TheRock/math-libs/BLAS/rocBLAS/library/src -ID:/projects/TheRock/math-libs/BLAS/rocBLAS/library/include -ID:/projects/TheRock/math-libs/BLAS/rocBLAS/library/include/internal -ID:/projects/TheRock/math-libs/BLAS/rocBLAS/library/src/include -ID:/projects/TheRock/build/math-libs/BLAS/rocBLAS/build/include/rocblas/internal -ID:/projects/TheRock/build/math-libs/BLAS/rocBLAS/build/include/rocblas -ID:/projects/TheRock/build/math-libs/BLAS/rocBLAS/build/include -ID:/projects/TheRock/math-libs/BLAS/rocBLAS/library/src/blas3/Tensile -isystem D:/projects/TheRock/build/core/clr/dist/include -DWIN32 -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX -fms-extensions -fms-compatibility -D_ENABLE_EXTENDED_ALIGNED_STORAGE  -Wno-documentation-unknown-command -Wno-documentation-pedantic -Wno-unused-command-line-argument -Wno-ignored-attributes -Wno-unknown-attributes -Wno-duplicate-decl-specifier --hip-path=D:/projects/TheRock/build/core/clr/dist --hip-device-lib-path=D:/projects/TheRock/build/core/clr/dist/lib/llvm/amdgcn/bitcode -D__HIP_HCC_COMPAT_MODE__=1 -O3 -DNDEBUG -std=c++17 -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -fvisibility-inlines-hidden --offload-compress -Wno-unused-result -Werror=vla -x hip --offload-arch=gfx1100 --offload-arch=gfx1101 --offload-arch=gfx1102 -MD -MT library/src/CMakeFiles/rocblas.dir/blas3/rocblas_syrkx_herkx_kernels.cpp.obj -MF library\src\CMakeFiles\rocblas.dir\blas3\rocblas_syrkx_herkx_kernels.cpp.obj.d -o library/src/CMakeFiles/rocblas.dir/blas3/rocblas_syrkx_herkx_kernels.cpp.obj -c D:/projects/TheRock/math-libs/BLAS/rocBLAS/library/src/blas3/rocblas_syrkx_herkx_kernels.cpp
[build] [rocBLAS] D:\projects\TheRock\build\core\clr\dist\lib\llvm\bin\clang-offload-bundler: error: Compression not supported

@ScottTodd ScottTodd marked this pull request as ready for review April 10, 2025 23:59
@marbre marbre merged commit 7e1d1ce into main Apr 11, 2025
11 checks passed
@marbre marbre deleted the users/scotttodd/windows-rocblas branch April 11, 2025 08:56
@github-project-automation github-project-automation bot moved this from TODO to Done in TheRock Triage Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants