summaryrefslogtreecommitdiff
path: root/llama.cpp/examples/sycl/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/examples/sycl/CMakeLists.txt')
-rw-r--r--llama.cpp/examples/sycl/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/llama.cpp/examples/sycl/CMakeLists.txt b/llama.cpp/examples/sycl/CMakeLists.txt
new file mode 100644
index 0000000..e4d5083
--- /dev/null
+++ b/llama.cpp/examples/sycl/CMakeLists.txt
@@ -0,0 +1,9 @@
+# MIT license
+# Copyright (C) 2024 Intel Corporation
+# SPDX-License-Identifier: MIT
+
+set(TARGET llama-ls-sycl-device)
+add_executable(${TARGET} ls-sycl-device.cpp)
+install(TARGETS ${TARGET} RUNTIME)
+target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
+target_compile_features(${TARGET} PRIVATE cxx_std_17)