File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ if (BLAS_FOUND)
81
81
target_link_libraries (ggml-blas PRIVATE ${BLAS_LIBRARIES} )
82
82
target_include_directories (ggml-blas PRIVATE ${BLAS_INCLUDE_DIRS} )
83
83
else ()
84
- message (ERROR "BLAS not found, please refer to "
85
- "https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors"
86
- " to set correct GGML_BLAS_VENDOR" )
84
+ message (FATAL_ERROR "BLAS not found, please refer to "
85
+ "https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors"
86
+ " to set correct GGML_BLAS_VENDOR" )
87
87
endif ()
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ elseif(SUPPORTS_SYCL)
13
13
If you expected the oneAPI Release compiler, please install oneAPI & source it, like:
14
14
source /opt/intel/oneapi/setvars.sh" )
15
15
else ()
16
- message (FATAL_ERROR, "C++ compiler lacks SYCL support." )
16
+ message (FATAL_ERROR "C++ compiler lacks SYCL support." )
17
17
endif ()
18
18
message (STATUS "SYCL found" )
19
19
#todo: AOT
@@ -170,7 +170,7 @@ else()
170
170
target_compile_definitions (ggml-sycl PRIVATE GGML_SYCL_NVIDIA )
171
171
elseif (GGML_SYCL_TARGET STREQUAL "AMD" )
172
172
if (NOT GGML_SYCL_DEVICE_ARCH )
173
- message (ERROR "Can't enable SYCL hip backend, GGML_SYCL_DEVICE_ARCH has not been set." )
173
+ message (FATAL_ERROR "Can't enable SYCL hip backend, GGML_SYCL_DEVICE_ARCH has not been set." )
174
174
endif ()
175
175
target_link_libraries (ggml-sycl PRIVATE ONEMATH::onemath_blas_rocblas )
176
176
target_compile_options (ggml-sycl PRIVATE "-fsycl-targets=amdgcn-amd-amdhsa" )
You can’t perform that action at this time.
0 commit comments