Remove unused find_package(oneMKL)
Signed-off-by: Joe Todd <joe.todd@codeplay.com>
This commit is contained in:
parent
b2d898059a
commit
f2bcdb3806
1 changed files with 3 additions and 3 deletions
|
@ -469,15 +469,15 @@ if (GGML_SYCL)
|
||||||
|
|
||||||
if (GGML_SYCL_TARGET STREQUAL "INTEL")
|
if (GGML_SYCL_TARGET STREQUAL "INTEL")
|
||||||
find_package(MKL REQUIRED)
|
find_package(MKL REQUIRED)
|
||||||
else()
|
|
||||||
find_package(oneMKL REQUIRED)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
check_cxx_compiler_flag("-fsycl" SUPPORTS_SYCL)
|
check_cxx_compiler_flag("-fsycl" SUPPORTS_SYCL)
|
||||||
if ( DEFINED ENV{ONEAPI_ROOT})
|
if ( DEFINED ENV{ONEAPI_ROOT})
|
||||||
message(STATUS "Using oneAPI Release SYCL compiler (icpx).")
|
message(STATUS "Using oneAPI Release SYCL compiler (icpx).")
|
||||||
elseif(SUPPORTS_SYCL)
|
elseif(SUPPORTS_SYCL)
|
||||||
message(WARNING "Using open-source SYCL compiler (clang++). Didn't detect ENV {ONEAPI_ROOT}. If you expected the oneAPI Release compiler, please install oneAPI & source it, like: source /opt/intel/oneapi/setvars.sh")
|
message(WARNING "Using open-source SYCL compiler (clang++). Didn't detect ENV {ONEAPI_ROOT}.
|
||||||
|
If you expected the oneAPI Release compiler, please install oneAPI & source it, like:
|
||||||
|
source /opt/intel/oneapi/setvars.sh")
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR, "C++ compiler lacks SYCL support.")
|
message(FATAL_ERROR, "C++ compiler lacks SYCL support.")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue