diff --git a/CMakeLists.txt b/CMakeLists.txt index 29b8a1fe8..9c318641c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ endif() if (SD_HIPBLAS) message("Use HIPBLAS as backend stable-diffusion") set(GGML_HIPBLAS ON) - add_definitions(-DSD_USE_CUBLAS) + add_definitions(-DSD_USE_HIPBLAS) if(SD_FAST_SOFTMAX) set(GGML_CUDA_FAST_SOFTMAX ON) endif()