Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
YellowRoseCx authored Apr 16, 2024
1 parent f49e382 commit 0618435
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ if (LLAMA_HIPBLAS)
message(STATUS "HIP and hipBLAS found")
file(GLOB GGML_SOURCES_CUDA "ggml-cuda/*.cu")
list(APPEND GGML_SOURCES_CUDA "ggml-cuda.cu")
list(APPEND GGML_SOURCES_CUDA "ggml.h")
add_compile_definitions(GGML_USE_HIPBLAS GGML_USE_CUDA SD_USE_CUBLAS)
add_library(ggml-rocm OBJECT ${GGML_SOURCES_CUDA})
if (LLAMA_CUDA_FORCE_DMMV)
Expand Down Expand Up @@ -453,6 +454,7 @@ endif()




# THIS FILE IS ONLY INTENDED FOR HIPBLAS BUILD PURPOSES ON WINDOWS VISUAL STUDIO.
# # YOU'RE NOT RECOMMENDED TO USE IT

Expand Down

0 comments on commit 0618435

Please sign in to comment.