From 06184354391b5d75407102faf401a6c6b576e332 Mon Sep 17 00:00:00 2001 From: YellowRoseCx <80486540+YellowRoseCx@users.noreply.github.com> Date: Tue, 16 Apr 2024 10:36:21 -0500 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 57dee47a969d7f..7ba7e43d0ee373 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) @@ -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