Skip to content
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

hipblas cannot build using cmake on windows with rocm5.7.1 #158

Closed
sorasoras opened this issue Jan 25, 2024 · 2 comments
Closed

hipblas cannot build using cmake on windows with rocm5.7.1 #158

sorasoras opened this issue Jan 25, 2024 · 2 comments

Comments

@sorasoras
Copy link

-- hip::amdhip64 is SHARED_LIBRARY
-- hip::amdhip64 is SHARED_LIBRARY
-- HIP and hipBLAS found
-- CMAKE_SYSTEM_PROCESSOR: AMD64
-- x86 detected
-- Configuring done (0.2s)
CMake Error at CMakeLists.txt:213 (add_library):
  Cannot find source file:

    W:/git/rwkv.cpp/ggml/src/ggml-cuda.cu

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc


CMake Error at CMakeLists.txt:407 (add_library):
  Cannot find source file:

    W:/git/rwkv.cpp/ggml/src/ggml.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc


CMake Error at CMakeLists.txt:213 (add_library):
  No SOURCES given to target: ggml-rocm


CMake Error at CMakeLists.txt:407 (add_library):
  No SOURCES given to target: ggml


CMake Generate step failed.  Build files cannot be regenerated correctly.

cmake .. -G "Ninja" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DRWKV_HIPBLAS=ON -DCMcmake .. -G "Ninja" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DRWKV_HIPBLAS=ON -DCMAKE_BUILD_TYPE=Release -DAMDGPU_TARGETS=gfx1100AKE_BUILD_TYPE=Release -DAMDGPU_TARGETS=gfx1100

I think it stop working now.

@saharNooby
Copy link
Collaborator

Cannot find source file

Looks like files of ggml are missing completely. Please make sure you've cloned the repository with --recursive flag present: git clone --recursive https://github.com/saharNooby/rwkv.cpp.git.

@sorasoras
Copy link
Author

Cannot find source file

Looks like files of ggml are missing completely. Please make sure you've cloned the repository with --recursive flag present: git clone --recursive https://github.com/saharNooby/rwkv.cpp.git.

good, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants