summaryrefslogtreecommitdiff
path: root/examples/benchmark/CMakeLists.txt
diff options
context:
space:
mode:
authorStephan Walter <stephan@walter.name>2023-04-30 12:32:37 +0000
committerGitHub <noreply@github.com>2023-04-30 12:32:37 +0000
commitf0d70f147d969e41fa410b8af2965a27aa901eb9 (patch)
tree1b4bbcbb44f57acad45aa6d4bb2cb4997f602407 /examples/benchmark/CMakeLists.txt
parent3e5aa8a1c44051153d6d7b3eeca2f4b4e5fb310c (diff)
Various fixes to mat_mul benchmark (#1253)
Diffstat (limited to 'examples/benchmark/CMakeLists.txt')
-rw-r--r--examples/benchmark/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/benchmark/CMakeLists.txt b/examples/benchmark/CMakeLists.txt
new file mode 100644
index 00000000..05deebcd
--- /dev/null
+++ b/examples/benchmark/CMakeLists.txt
@@ -0,0 +1,4 @@
+set(TARGET benchmark)
+add_executable(${TARGET} benchmark-matmult.cpp)
+target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
+target_compile_features(${TARGET} PRIVATE cxx_std_11)