aboutsummaryrefslogtreecommitdiff
path: root/cmake/Options.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Options.cmake')
-rw-r--r--cmake/Options.cmake13
1 files changed, 10 insertions, 3 deletions
diff --git a/cmake/Options.cmake b/cmake/Options.cmake
index 20cf0e42c8..170dad9f69 100644
--- a/cmake/Options.cmake
+++ b/cmake/Options.cmake
@@ -50,7 +50,6 @@ endif()
# ---------------------------------------------------------------------
# Backends
-# TODO Add help string for each setting (Should user be able to )
option(ENABLE_NEON "Enable Arm® Neon™ support" ON)
option(ARM_COMPUTE_CPU_ENABLED "" ON)
option(ARM_COMPUTE_ENABLE_NEON "" ON)
@@ -65,11 +64,12 @@ option(ENABLE_INTEGER_KERNELS "" ON)
option(ENABLE_NHWC_KERNELS "" ON)
option(ENABLE_NCHW_KERNELS "" ON)
option(ARM_COMPUTE_GRAPH_ENABLED "" ON)
-option(ARM_COMPUTE_ENABLE_BF16 "" ON)
option(ARM_COMPUTE_ENABLE_SVEF32MM "" ON)
option(ARM_COMPUTE_ENABLE_FIXED_FORMAT_KERNELS "" ON)
+option(ENABLE_SVE "" ON)
+option(ARM_COMPUTE_ENABLE_SVE "" ON)
+option(ENABLE_BF16_VALIDATION "" OFF)
-# TODO Check if this is required
if(ENABLE_NEON)
add_definitions(-DENABLE_NEON)
endif()
@@ -121,3 +121,10 @@ endif()
if(ARM_COMPUTE_ENABLE_FIXED_FORMAT_KERNELS)
add_definitions(-DARM_COMPUTE_ENABLE_FIXED_FORMAT_KERNELS)
endif()
+if(ENABLE_SVE)
+ add_definitions(-DENABLE_SVE)
+endif()
+if(ARM_COMPUTE_ENABLE_SVE)
+ add_definitions(-DARM_COMPUTE_ENABLE_SVE)
+endif()
+add_definitions(-D_GLIBCXX_USE_NANOSLEEP) \ No newline at end of file