We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c79721 commit 64b5a14Copy full SHA for 64b5a14
ggml/src/ggml-sycl/CMakeLists.txt
@@ -87,6 +87,10 @@ if (NOT oneMath_FOUND)
87
set(ENABLE_MKLCPU_BACKEND False)
88
set(ENABLE_MKLGPU_BACKEND False)
89
set(ENABLE_ROCBLAS_BACKEND True)
90
+ # Ensure setting a string variable here is not overriden by oneMath CACHE variables
91
+ cmake_policy(SET CMP0126 NEW)
92
+ # Setting the device architecture is only needed and useful for AMD devices in oneMath
93
+ set(HIP_TARGETS ${GGML_SYCL_DEVICE_ARCH} CACHE STRING "oneMath HIP target" FORCE)
94
endif()
95
FetchContent_Declare(
96
ONEMATH
0 commit comments