Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1 | # Copyright (c) Facebook, Inc. and its affiliates. |
| 2 | # All rights reserved. |
| 3 | # |
| 4 | # Copyright 2019 Google LLC |
| 5 | # |
| 6 | # This source code is licensed under the BSD-style license found in the |
| 7 | # LICENSE file in the root directory of this source tree. |
| 8 | |
| 9 | CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR) |
| 10 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 11 | # ---[ Project and semantic versioning. |
| 12 | PROJECT(XNNPACK C CXX ASM) |
| 13 | |
| 14 | # ---[ Options. |
| 15 | SET(XNNPACK_LIBRARY_TYPE "default" CACHE STRING "Type of library (shared, static, or default) to build") |
| 16 | SET_PROPERTY(CACHE XNNPACK_LIBRARY_TYPE PROPERTY STRINGS default static shared) |
Marat Dukhan | efc184a | 2020-02-13 09:47:01 -0800 | [diff] [blame] | 17 | OPTION(XNNPACK_ENABLE_ASSEMBLY "Build XNNPACK with assembly micro-kernels" ON) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 18 | OPTION(XNNPACK_BUILD_TESTS "Build XNNPACK unit tests" ON) |
| 19 | OPTION(XNNPACK_BUILD_BENCHMARKS "Build XNNPACK benchmarks" ON) |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 20 | OPTION(XNNPACK_USE_SYSTEM_LIBS "Use system-provided dependency libraries" OFF) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 21 | |
| 22 | # ---[ CMake options |
Marat Dukhan | bcbae1e | 2020-04-13 10:54:18 -0700 | [diff] [blame] | 23 | INCLUDE(GNUInstallDirs) |
| 24 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 25 | IF(XNNPACK_BUILD_TESTS) |
| 26 | ENABLE_TESTING() |
| 27 | ENDIF() |
| 28 | |
Marat Dukhan | efc184a | 2020-02-13 09:47:01 -0800 | [diff] [blame] | 29 | IF(XNNPACK_ENABLE_ASSEMBLY) |
| 30 | ADD_DEFINITIONS(-DXNN_ENABLE_ASSEMBLY=1) |
| 31 | ELSE() |
| 32 | ADD_DEFINITIONS(-DXNN_ENABLE_ASSEMBLY=0) |
| 33 | ENDIF() |
| 34 | |
Marat Dukhan | 8a9be59 | 2020-05-09 21:49:19 -0700 | [diff] [blame] | 35 | IF(CMAKE_C_COMPILER_ID STREQUAL "MSVC") |
Marat Dukhan | 1b555e0 | 2020-04-14 22:40:29 -0700 | [diff] [blame] | 36 | # Disable "unary minus operator applied to unsigned type, result still unsigned" warning |
| 37 | ADD_COMPILE_OPTIONS("/wd4146") |
| 38 | ENDIF() |
| 39 | |
Marat Dukhan | 8a9be59 | 2020-05-09 21:49:19 -0700 | [diff] [blame] | 40 | IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") |
| 41 | # Disable "note: parameter passing for argument of type ... changed/will change in ..." |
| 42 | ADD_COMPILE_OPTIONS("-Wno-psabi") |
| 43 | ENDIF() |
| 44 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 45 | # ---[ Build flags |
| 46 | IF(NOT CMAKE_SYSTEM_PROCESSOR) |
| 47 | IF(IOS) |
| 48 | LIST(LENGTH IOS_ARCH IOS_ARCH_COUNT) |
| 49 | IF(IOS_ARCH_COUNT GREATER 1) |
| 50 | MESSAGE(FATAL_ERROR "Unsupported XNNPACK build with multiple iOS architectures (${IOS_ARCH}). " |
| 51 | "Specify a single architecture in IOS_ARCH and re-configure. ") |
| 52 | ENDIF() |
Yasuhiro Matsumoto | 462be05 | 2020-02-29 13:41:14 +0900 | [diff] [blame] | 53 | IF(NOT IOS_ARCH MATCHES "^(i386|x86_64|AMD64|armv7.*|arm64.*)$") |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 54 | MESSAGE(FATAL_ERROR "Unrecognized IOS_ARCH = ${IOS_ARCH}") |
| 55 | ENDIF() |
| 56 | ELSE() |
| 57 | MESSAGE(FATAL_ERROR "CMAKE_SYSTEM_PROCESSOR is not defined") |
| 58 | ENDIF() |
Marat Dukhan | 7795c3a | 2020-04-14 20:45:36 -0700 | [diff] [blame] | 59 | ELSEIF(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^(i[3-6]86|x86|x86_64|AMD64|armv[5-8].*|aarch64)$") |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 60 | MESSAGE(FATAL_ERROR "Unrecognized CMAKE_SYSTEM_PROCESSOR = ${CMAKE_SYSTEM_PROCESSOR}") |
| 61 | ENDIF() |
| 62 | |
| 63 | IF(NOT CMAKE_SYSTEM_NAME) |
| 64 | MESSAGE(FATAL_ERROR "CMAKE_SYSTEM_NAME not defined") |
Marat Dukhan | 78583c7 | 2020-04-26 22:00:43 -0700 | [diff] [blame] | 65 | ELSEIF(NOT CMAKE_SYSTEM_NAME MATCHES "^(Darwin|Linux|Android|Windows|CYGWIN|MSYS)$") |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 66 | MESSAGE(FATAL_ERROR "Unrecognized CMAKE_SYSTEM_NAME = ${CMAKE_SYSTEM_NAME}") |
| 67 | ENDIF() |
| 68 | |
| 69 | # ---[ Download deps |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 70 | IF(NOT XNNPACK_USE_SYSTEM_LIBS) |
| 71 | IF(NOT DEFINED CLOG_SOURCE_DIR) |
| 72 | MESSAGE(STATUS "Downloading clog to ${CMAKE_BINARY_DIR}/clog-source (define CLOG_SOURCE_DIR to avoid it)") |
| 73 | CONFIGURE_FILE(cmake/DownloadCLog.cmake "${CMAKE_BINARY_DIR}/clog-download/CMakeLists.txt") |
| 74 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" . |
| 75 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/clog-download") |
| 76 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" --build . |
| 77 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/clog-download") |
| 78 | SET(CLOG_SOURCE_DIR "${CMAKE_BINARY_DIR}/clog-source" CACHE STRING "clog source directory") |
| 79 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 80 | |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 81 | IF(NOT DEFINED CPUINFO_SOURCE_DIR) |
| 82 | MESSAGE(STATUS "Downloading cpuinfo to ${CMAKE_BINARY_DIR}/cpuinfo-source (define CPUINFO_SOURCE_DIR to avoid it)") |
| 83 | CONFIGURE_FILE(cmake/DownloadCpuinfo.cmake "${CMAKE_BINARY_DIR}/cpuinfo-download/CMakeLists.txt") |
| 84 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" . |
| 85 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/cpuinfo-download") |
| 86 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" --build . |
| 87 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/cpuinfo-download") |
| 88 | SET(CPUINFO_SOURCE_DIR "${CMAKE_BINARY_DIR}/cpuinfo-source" CACHE STRING "cpuinfo source directory") |
| 89 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 90 | |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 91 | IF(NOT DEFINED FP16_SOURCE_DIR) |
| 92 | MESSAGE(STATUS "Downloading FP16 to ${CMAKE_BINARY_DIR}/FP16-source (define FP16_SOURCE_DIR to avoid it)") |
| 93 | CONFIGURE_FILE(cmake/DownloadFP16.cmake "${CMAKE_BINARY_DIR}/FP16-download/CMakeLists.txt") |
| 94 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" . |
| 95 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/FP16-download") |
| 96 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" --build . |
| 97 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/FP16-download") |
| 98 | SET(FP16_SOURCE_DIR "${CMAKE_BINARY_DIR}/FP16-source" CACHE STRING "FP16 source directory") |
| 99 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 100 | |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 101 | IF(NOT DEFINED FXDIV_SOURCE_DIR) |
| 102 | MESSAGE(STATUS "Downloading FXdiv to ${CMAKE_BINARY_DIR}/FXdiv-source (define FXDIV_SOURCE_DIR to avoid it)") |
| 103 | CONFIGURE_FILE(cmake/DownloadFXdiv.cmake "${CMAKE_BINARY_DIR}/FXdiv-download/CMakeLists.txt") |
| 104 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" . |
| 105 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/FXdiv-download") |
| 106 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" --build . |
| 107 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/FXdiv-download") |
| 108 | SET(FXDIV_SOURCE_DIR "${CMAKE_BINARY_DIR}/FXdiv-source" CACHE STRING "FXdiv source directory") |
| 109 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 110 | |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 111 | IF(NOT DEFINED PSIMD_SOURCE_DIR) |
| 112 | MESSAGE(STATUS "Downloading PSimd to ${CMAKE_BINARY_DIR}/psimd-source (define PSIMD_SOURCE_DIR to avoid it)") |
| 113 | CONFIGURE_FILE(cmake/DownloadPSimd.cmake "${CMAKE_BINARY_DIR}/psimd-download/CMakeLists.txt") |
| 114 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" . |
| 115 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/psimd-download") |
| 116 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" --build . |
| 117 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/psimd-download") |
| 118 | SET(PSIMD_SOURCE_DIR "${CMAKE_BINARY_DIR}/psimd-source" CACHE STRING "PSimd source directory") |
| 119 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 120 | |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 121 | IF(NOT DEFINED PTHREADPOOL_SOURCE_DIR) |
| 122 | MESSAGE(STATUS "Downloading pthreadpool to ${CMAKE_BINARY_DIR}/pthreadpool-source (define PTHREADPOOL_SOURCE_DIR to avoid it)") |
| 123 | CONFIGURE_FILE(cmake/DownloadPThreadPool.cmake "${CMAKE_BINARY_DIR}/pthreadpool-download/CMakeLists.txt") |
| 124 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" . |
| 125 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/pthreadpool-download") |
| 126 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" --build . |
| 127 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/pthreadpool-download") |
| 128 | SET(PTHREADPOOL_SOURCE_DIR "${CMAKE_BINARY_DIR}/pthreadpool-source" CACHE STRING "pthreadpool source directory") |
| 129 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 130 | |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 131 | IF(XNNPACK_BUILD_TESTS AND NOT DEFINED GOOGLETEST_SOURCE_DIR) |
| 132 | MESSAGE(STATUS "Downloading Google Test to ${CMAKE_BINARY_DIR}/googletest-source (define GOOGLETEST_SOURCE_DIR to avoid it)") |
| 133 | CONFIGURE_FILE(cmake/DownloadGoogleTest.cmake "${CMAKE_BINARY_DIR}/googletest-download/CMakeLists.txt") |
| 134 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" . |
| 135 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googletest-download") |
| 136 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" --build . |
| 137 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googletest-download") |
| 138 | SET(GOOGLETEST_SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-source" CACHE STRING "Google Test source directory") |
| 139 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 140 | |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 141 | IF(XNNPACK_BUILD_BENCHMARKS AND NOT DEFINED GOOGLEBENCHMARK_SOURCE_DIR) |
| 142 | MESSAGE(STATUS "Downloading Google Benchmark to ${CMAKE_BINARY_DIR}/googlebenchmark-source (define GOOGLEBENCHMARK_SOURCE_DIR to avoid it)") |
| 143 | CONFIGURE_FILE(cmake/DownloadGoogleBenchmark.cmake "${CMAKE_BINARY_DIR}/googlebenchmark-download/CMakeLists.txt") |
| 144 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" . |
| 145 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googlebenchmark-download") |
| 146 | EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" --build . |
| 147 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googlebenchmark-download") |
| 148 | SET(GOOGLEBENCHMARK_SOURCE_DIR "${CMAKE_BINARY_DIR}/googlebenchmark-source" CACHE STRING "Google Benchmark source directory") |
| 149 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 150 | ENDIF() |
| 151 | |
| 152 | # ---[ XNNPACK library |
| 153 | SET(XNNPACK_OPERATOR_SRCS |
Marat Dukhan | e826543 | 2020-04-28 18:42:59 -0700 | [diff] [blame] | 154 | src/operators/add-nc.c |
| 155 | src/operators/argmax-pooling-nhwc.c |
| 156 | src/operators/average-pooling-nhwc.c |
| 157 | src/operators/binary-elementwise-nd.c |
| 158 | src/operators/channel-pad-nc.c |
| 159 | src/operators/channel-shuffle-nc.c |
| 160 | src/operators/clamp-nc.c |
| 161 | src/operators/convolution-nchw.c |
| 162 | src/operators/convolution-nhwc.c |
| 163 | src/operators/deconvolution-nhwc.c |
| 164 | src/operators/fully-connected-nc.c |
| 165 | src/operators/global-average-pooling-ncw.c |
| 166 | src/operators/global-average-pooling-nwc.c |
| 167 | src/operators/hardswish-nc.c |
| 168 | src/operators/leaky-relu-nc.c |
| 169 | src/operators/max-pooling-nhwc.c |
| 170 | src/operators/prelu-nc.c |
| 171 | src/operators/resize-bilinear-nhwc.c |
| 172 | src/operators/sigmoid-nc.c |
| 173 | src/operators/softmax-nc.c |
| 174 | src/operators/unpooling-nhwc.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 175 | |
| 176 | SET(XNNPACK_COLD_SRCS ${XNNPACK_OPERATOR_SRCS}) |
| 177 | LIST(APPEND XNNPACK_COLD_SRCS |
| 178 | src/init.c |
Ashkan Aliabadi | 1f8a2b8 | 2019-11-20 11:27:00 -0800 | [diff] [blame] | 179 | src/memory.c |
Marat Dukhan | 98ca635 | 2020-02-03 12:53:02 -0800 | [diff] [blame] | 180 | src/operator-delete.c |
| 181 | src/runtime.c |
| 182 | src/subgraph.c |
| 183 | src/tensor.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 184 | |
| 185 | SET(XNNPACK_HOT_SRCS |
| 186 | src/indirection.c |
| 187 | src/operator-run.c) |
| 188 | |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 189 | SET(XNNPACK_TABLE_SRCS |
| 190 | src/tables/exp2-k-over-64.c |
| 191 | src/tables/exp2-k-over-2048.c) |
| 192 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 193 | SET(XNNPACK_SCALAR_MICROKERNEL_SRCS |
Ashkan Aliabadi | f866a45 | 2019-11-20 10:58:51 -0800 | [diff] [blame] | 194 | src/f32-argmaxpool/4x-scalar-c1.c |
| 195 | src/f32-argmaxpool/9p8x-scalar-c1.c |
| 196 | src/f32-argmaxpool/9x-scalar-c1.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 197 | src/f32-avgpool/9p8x-minmax-scalar-c1.c |
| 198 | src/f32-avgpool/9x-minmax-scalar-c1.c |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 199 | src/f32-clamp/gen/scalar-x1.c |
| 200 | src/f32-clamp/gen/scalar-x2.c |
| 201 | src/f32-clamp/gen/scalar-x4.c |
Marat Dukhan | 6b7dfae | 2019-12-04 16:00:52 -0800 | [diff] [blame] | 202 | src/f32-conv-hwc/3x3s2p1c3x4-scalar-1x1.c |
Marat Dukhan | 441e221 | 2019-12-04 18:30:49 -0800 | [diff] [blame] | 203 | src/f32-conv-hwc/3x3s2p0p1c3x4-scalar-1x1.c |
Erich Elsen | 563df5f | 2019-10-23 08:02:21 -0700 | [diff] [blame] | 204 | src/f32-conv-hwc2spchw/3x3s2p1c3x4-scalar-1x1.c |
Erich Elsen | 0cc2c53 | 2019-10-15 04:44:18 -0700 | [diff] [blame] | 205 | src/f32-dwconv-spchw/3x3p1-scalar.c |
Erich Elsen | ac4de80 | 2019-10-16 04:35:30 -0700 | [diff] [blame] | 206 | src/f32-dwconv-spchw/3x3s2p1-scalar.c |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 207 | src/f32-dwconv-spchw/5x5p2-scalar.c |
Erich Elsen | 38709a6 | 2019-11-08 11:58:45 -0800 | [diff] [blame] | 208 | src/f32-dwconv-spchw/5x5s2p2-scalar.c |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 209 | src/f32-dwconv/gen/up1x4-scalar.c |
| 210 | src/f32-dwconv/gen/up1x4-scalar-acc2.c |
| 211 | src/f32-dwconv/gen/up1x9-scalar.c |
| 212 | src/f32-dwconv/gen/up1x9-scalar-acc2.c |
| 213 | src/f32-dwconv/gen/up1x25-scalar.c |
| 214 | src/f32-dwconv/gen/up1x25-scalar-acc2.c |
| 215 | src/f32-dwconv/gen/up2x4-scalar.c |
| 216 | src/f32-dwconv/gen/up2x4-scalar-acc2.c |
| 217 | src/f32-dwconv/gen/up2x9-scalar.c |
| 218 | src/f32-dwconv/gen/up2x9-scalar-acc2.c |
| 219 | src/f32-dwconv/gen/up2x25-scalar.c |
| 220 | src/f32-dwconv/gen/up2x25-scalar-acc2.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 221 | src/f32-dwconv/gen/up1x4-minmax-scalar.c |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 222 | src/f32-dwconv/gen/up1x4-minmax-scalar-acc2.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 223 | src/f32-dwconv/gen/up1x9-minmax-scalar.c |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 224 | src/f32-dwconv/gen/up1x9-minmax-scalar-acc2.c |
| 225 | src/f32-dwconv/gen/up1x25-minmax-scalar.c |
| 226 | src/f32-dwconv/gen/up1x25-minmax-scalar-acc2.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 227 | src/f32-dwconv/gen/up2x4-minmax-scalar.c |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 228 | src/f32-dwconv/gen/up2x4-minmax-scalar-acc2.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 229 | src/f32-dwconv/gen/up2x9-minmax-scalar.c |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 230 | src/f32-dwconv/gen/up2x9-minmax-scalar-acc2.c |
| 231 | src/f32-dwconv/gen/up2x25-minmax-scalar.c |
| 232 | src/f32-dwconv/gen/up2x25-minmax-scalar-acc2.c |
Erich Elsen | 34dc2c0 | 2019-10-16 05:11:41 -0700 | [diff] [blame] | 233 | src/f32-gavgpool-spchw/scalar-x1.c |
Marat Dukhan | b9d07cf | 2020-04-11 20:25:31 -0700 | [diff] [blame] | 234 | src/f32-gavgpool/7p7x-minmax-scalar-c1.c |
| 235 | src/f32-gavgpool/7x-minmax-scalar-c1.c |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 236 | src/f32-gemm/gen/1x4-scalar.c |
| 237 | src/f32-gemm/gen/2x4-scalar.c |
| 238 | src/f32-gemm/gen/4x2-scalar.c |
| 239 | src/f32-gemm/gen/4x4-scalar.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 240 | src/f32-gemm/gen/1x4-minmax-scalar.c |
| 241 | src/f32-gemm/gen/2x4-minmax-scalar.c |
| 242 | src/f32-gemm/gen/4x2-minmax-scalar.c |
| 243 | src/f32-gemm/gen/4x4-minmax-scalar.c |
| 244 | src/f32-gemm/gen-inc/1x4inc-minmax-scalar.c |
| 245 | src/f32-gemm/gen-inc/2x4inc-minmax-scalar.c |
| 246 | src/f32-gemm/gen-inc/4x4inc-minmax-scalar.c |
Marat Dukhan | 662faa0 | 2019-12-09 22:48:16 -0800 | [diff] [blame] | 247 | src/f32-hswish/gen/scalar-x1.c |
| 248 | src/f32-hswish/gen/scalar-x2.c |
| 249 | src/f32-hswish/gen/scalar-x4.c |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 250 | src/f32-ibilinear/gen/scalar-c1.c |
| 251 | src/f32-ibilinear/gen/scalar-c2.c |
| 252 | src/f32-ibilinear/gen/scalar-c4.c |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 253 | src/f32-igemm/gen/1x4-scalar.c |
| 254 | src/f32-igemm/gen/2x4-scalar.c |
| 255 | src/f32-igemm/gen/4x2-scalar.c |
| 256 | src/f32-igemm/gen/4x4-scalar.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 257 | src/f32-igemm/gen/1x4-minmax-scalar.c |
| 258 | src/f32-igemm/gen/2x4-minmax-scalar.c |
| 259 | src/f32-igemm/gen/4x2-minmax-scalar.c |
| 260 | src/f32-igemm/gen/4x4-minmax-scalar.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 261 | src/f32-maxpool/9p8x-minmax-scalar-c1.c |
| 262 | src/f32-pavgpool/9p8x-minmax-scalar-c1.c |
| 263 | src/f32-pavgpool/9x-minmax-scalar-c1.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 264 | src/f32-ppmm/gen/2x4-minmax-scalar.c |
| 265 | src/f32-ppmm/gen/3x3-minmax-scalar.c |
| 266 | src/f32-ppmm/gen/4x2-minmax-scalar.c |
| 267 | src/f32-ppmm/gen/4x4-minmax-scalar.c |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 268 | src/f32-prelu/gen/scalar-2x1.c |
| 269 | src/f32-prelu/gen/scalar-2x4.c |
Marat Dukhan | f46f675 | 2020-01-21 11:03:49 -0800 | [diff] [blame] | 270 | src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x1.c |
| 271 | src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x2.c |
| 272 | src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x2-acc2.c |
| 273 | src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x4.c |
| 274 | src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x4-acc2.c |
| 275 | src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x4-acc4.c |
| 276 | src/f32-raddstoreexpminusmax/gen/scalar-p5-x1.c |
| 277 | src/f32-raddstoreexpminusmax/gen/scalar-p5-x2.c |
| 278 | src/f32-raddstoreexpminusmax/gen/scalar-p5-x2-acc2.c |
| 279 | src/f32-raddstoreexpminusmax/gen/scalar-p5-x4.c |
| 280 | src/f32-raddstoreexpminusmax/gen/scalar-p5-x4-acc2.c |
| 281 | src/f32-raddstoreexpminusmax/gen/scalar-p5-x4-acc4.c |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 282 | src/f32-rmax/scalar.c |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 283 | src/f32-sigmoid/gen/scalar-lut2048-p1-div-x1.c |
| 284 | src/f32-sigmoid/gen/scalar-lut2048-p1-div-x2.c |
| 285 | src/f32-sigmoid/gen/scalar-lut2048-p1-div-x4.c |
| 286 | src/f32-sigmoid/gen/scalar-lut64-p2-div-x1.c |
| 287 | src/f32-sigmoid/gen/scalar-lut64-p2-div-x2.c |
| 288 | src/f32-sigmoid/gen/scalar-lut64-p2-div-x4.c |
| 289 | src/f32-sigmoid/gen/scalar-p5-div-x1.c |
| 290 | src/f32-sigmoid/gen/scalar-p5-div-x2.c |
| 291 | src/f32-sigmoid/gen/scalar-p5-div-x4.c |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 292 | src/f32-spmm/gen/1x1-minmax-scalar-pipelined.c |
| 293 | src/f32-spmm/gen/1x1-minmax-scalar.c |
| 294 | src/f32-spmm/gen/2x1-minmax-scalar-pipelined.c |
| 295 | src/f32-spmm/gen/2x1-minmax-scalar.c |
| 296 | src/f32-spmm/gen/4x1-minmax-scalar-pipelined.c |
| 297 | src/f32-spmm/gen/4x1-minmax-scalar.c |
| 298 | src/f32-spmm/gen/8x1-minmax-scalar-pipelined.c |
| 299 | src/f32-spmm/gen/8x1-minmax-scalar.c |
| 300 | src/f32-spmm/gen/8x2-minmax-scalar.c |
| 301 | src/f32-spmm/gen/8x4-minmax-scalar.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 302 | src/f32-vbinary/gen/vadd-minmax-scalar-x1.c |
| 303 | src/f32-vbinary/gen/vadd-minmax-scalar-x2.c |
| 304 | src/f32-vbinary/gen/vadd-minmax-scalar-x4.c |
| 305 | src/f32-vbinary/gen/vaddc-minmax-scalar-x1.c |
| 306 | src/f32-vbinary/gen/vaddc-minmax-scalar-x2.c |
| 307 | src/f32-vbinary/gen/vaddc-minmax-scalar-x4.c |
| 308 | src/f32-vbinary/gen/vdiv-minmax-scalar-x1.c |
| 309 | src/f32-vbinary/gen/vdiv-minmax-scalar-x2.c |
| 310 | src/f32-vbinary/gen/vdiv-minmax-scalar-x4.c |
| 311 | src/f32-vbinary/gen/vdivc-minmax-scalar-x1.c |
| 312 | src/f32-vbinary/gen/vdivc-minmax-scalar-x2.c |
| 313 | src/f32-vbinary/gen/vdivc-minmax-scalar-x4.c |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 314 | src/f32-vbinary/gen/vmax-scalar-x1.c |
| 315 | src/f32-vbinary/gen/vmax-scalar-x2.c |
| 316 | src/f32-vbinary/gen/vmax-scalar-x4.c |
| 317 | src/f32-vbinary/gen/vmaxc-scalar-x1.c |
| 318 | src/f32-vbinary/gen/vmaxc-scalar-x2.c |
| 319 | src/f32-vbinary/gen/vmaxc-scalar-x4.c |
| 320 | src/f32-vbinary/gen/vmin-scalar-x1.c |
| 321 | src/f32-vbinary/gen/vmin-scalar-x2.c |
| 322 | src/f32-vbinary/gen/vmin-scalar-x4.c |
| 323 | src/f32-vbinary/gen/vminc-scalar-x1.c |
| 324 | src/f32-vbinary/gen/vminc-scalar-x2.c |
| 325 | src/f32-vbinary/gen/vminc-scalar-x4.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 326 | src/f32-vbinary/gen/vmul-minmax-scalar-x1.c |
| 327 | src/f32-vbinary/gen/vmul-minmax-scalar-x2.c |
| 328 | src/f32-vbinary/gen/vmul-minmax-scalar-x4.c |
| 329 | src/f32-vbinary/gen/vmulc-minmax-scalar-x1.c |
| 330 | src/f32-vbinary/gen/vmulc-minmax-scalar-x2.c |
| 331 | src/f32-vbinary/gen/vmulc-minmax-scalar-x4.c |
| 332 | src/f32-vbinary/gen/vrdivc-minmax-scalar-x1.c |
| 333 | src/f32-vbinary/gen/vrdivc-minmax-scalar-x2.c |
| 334 | src/f32-vbinary/gen/vrdivc-minmax-scalar-x4.c |
| 335 | src/f32-vbinary/gen/vrsubc-minmax-scalar-x1.c |
| 336 | src/f32-vbinary/gen/vrsubc-minmax-scalar-x2.c |
| 337 | src/f32-vbinary/gen/vrsubc-minmax-scalar-x4.c |
| 338 | src/f32-vbinary/gen/vsub-minmax-scalar-x1.c |
| 339 | src/f32-vbinary/gen/vsub-minmax-scalar-x2.c |
| 340 | src/f32-vbinary/gen/vsub-minmax-scalar-x4.c |
| 341 | src/f32-vbinary/gen/vsubc-minmax-scalar-x1.c |
| 342 | src/f32-vbinary/gen/vsubc-minmax-scalar-x2.c |
| 343 | src/f32-vbinary/gen/vsubc-minmax-scalar-x4.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 344 | src/f32-vmulcaddc/gen/c1-minmax-scalar-2x.c |
| 345 | src/f32-vmulcaddc/gen/c2-minmax-scalar-2x.c |
| 346 | src/f32-vmulcaddc/gen/c4-minmax-scalar-2x.c |
Marat Dukhan | 5739f70 | 2019-12-22 19:45:09 -0800 | [diff] [blame] | 347 | src/math/expminus-scalar-lut2048-p1.c |
| 348 | src/math/expminus-scalar-lut64-p2.c |
| 349 | src/math/expminus-scalar-p5.c |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 350 | src/math/roundne-scalar-addsub.c |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 351 | src/math/roundd-scalar-addsub.c |
| 352 | src/math/roundd-scalar-cvt.c |
| 353 | src/math/roundu-scalar-addsub.c |
| 354 | src/math/roundu-scalar-cvt.c |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 355 | src/math/roundz-scalar-addsub.c |
| 356 | src/math/roundz-scalar-cvt.c |
Marat Dukhan | 5739f70 | 2019-12-22 19:45:09 -0800 | [diff] [blame] | 357 | src/math/sigmoid-scalar-lut2048-p1-div.c |
| 358 | src/math/sigmoid-scalar-lut64-p2-div.c |
| 359 | src/math/sigmoid-scalar-p5-div.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 360 | src/q8-avgpool/9p8x-minmax-scalar-c1.c |
| 361 | src/q8-avgpool/9x-minmax-scalar-c1.c |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 362 | src/q8-dwconv/up1x9-minmax-scalar.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 363 | src/q8-gavgpool/7p7x-minmax-scalar-c1.c |
| 364 | src/q8-gavgpool/7x-minmax-scalar-c1.c |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 365 | src/q8-gemm/2x2-minmax-scalar.c |
| 366 | src/q8-igemm/2x2-minmax-scalar.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 367 | src/q8-vadd/minmax-scalar.c |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 368 | src/u8-clamp/scalar-x4.c |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 369 | src/u8-lut32norm/scalar.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 370 | src/u8-maxpool/9p8x-minmax-scalar-c1.c |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 371 | src/u8-rmax/scalar.c |
| 372 | src/x32-packx/x2-scalar.c |
| 373 | src/x32-packx/x3-scalar.c |
| 374 | src/x32-packx/x4-scalar.c |
| 375 | src/x32-pad/x2-scalar.c |
| 376 | src/x32-unpool/scalar.c |
| 377 | src/x32-zip/x2-scalar.c |
| 378 | src/x32-zip/x3-scalar.c |
| 379 | src/x32-zip/x4-scalar.c |
| 380 | src/x32-zip/xm-scalar.c |
| 381 | src/x8-lut/scalar.c |
| 382 | src/x8-zip/x2-scalar.c |
| 383 | src/x8-zip/x3-scalar.c |
| 384 | src/x8-zip/x4-scalar.c |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 385 | src/x8-zip/xm-scalar.c |
| 386 | src/requantization/precise-scalar.c |
| 387 | src/requantization/fp32-scalar.c |
| 388 | src/requantization/q31-scalar.c |
| 389 | src/requantization/gemmlowp-scalar.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 390 | |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 391 | SET(XNNPACK_PSIMD_FASTMATH_MICROKERNEL_SRCS |
Ashkan Aliabadi | f866a45 | 2019-11-20 10:58:51 -0800 | [diff] [blame] | 392 | src/f32-argmaxpool/4x-psimd-c4.c |
| 393 | src/f32-argmaxpool/9p8x-psimd-c4.c |
| 394 | src/f32-argmaxpool/9x-psimd-c4.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 395 | src/f32-avgpool/9p8x-minmax-psimd-c4.c |
| 396 | src/f32-avgpool/9x-minmax-psimd-c4.c |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 397 | src/f32-clamp/gen/psimd-x4.c |
| 398 | src/f32-clamp/gen/psimd-x8.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 399 | src/f32-dwconv/gen/up4x25-minmax-psimd-acc2.c |
| 400 | src/f32-dwconv/gen/up4x25-minmax-psimd.c |
| 401 | src/f32-dwconv/gen/up4x4-minmax-psimd-acc2.c |
| 402 | src/f32-dwconv/gen/up4x4-minmax-psimd.c |
| 403 | src/f32-dwconv/gen/up4x9-minmax-psimd-acc2.c |
| 404 | src/f32-dwconv/gen/up4x9-minmax-psimd.c |
| 405 | src/f32-dwconv/gen/up8x25-minmax-psimd-acc2.c |
| 406 | src/f32-dwconv/gen/up8x25-minmax-psimd.c |
| 407 | src/f32-dwconv/gen/up8x4-minmax-psimd-acc2.c |
| 408 | src/f32-dwconv/gen/up8x4-minmax-psimd.c |
| 409 | src/f32-dwconv/gen/up8x9-minmax-psimd-acc2.c |
| 410 | src/f32-dwconv/gen/up8x9-minmax-psimd.c |
Marat Dukhan | b9d07cf | 2020-04-11 20:25:31 -0700 | [diff] [blame] | 411 | src/f32-gavgpool/7p7x-minmax-psimd-c4.c |
| 412 | src/f32-gavgpool/7x-minmax-psimd-c4.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 413 | src/f32-gemm/gen/1x8-minmax-psimd-loadsplat.c |
| 414 | src/f32-gemm/gen/1x8-minmax-psimd-splat.c |
| 415 | src/f32-gemm/gen/1x8s4-minmax-psimd.c |
| 416 | src/f32-gemm/gen/4x2c4-minmax-psimd.c |
| 417 | src/f32-gemm/gen/4x8-minmax-psimd-loadsplat.c |
| 418 | src/f32-gemm/gen/4x8-minmax-psimd-splat.c |
| 419 | src/f32-gemm/gen/4x8s4-minmax-psimd.c |
| 420 | src/f32-gemm/gen/6x8-minmax-psimd-loadsplat.c |
| 421 | src/f32-gemm/gen/6x8-minmax-psimd-splat.c |
| 422 | src/f32-gemm/gen/6x8s4-minmax-psimd.c |
| 423 | src/f32-gemm/gen-inc/1x8inc-minmax-psimd-loadsplat.c |
| 424 | src/f32-gemm/gen-inc/1x8inc-minmax-psimd-splat.c |
| 425 | src/f32-gemm/gen-inc/1x8s4inc-minmax-psimd.c |
| 426 | src/f32-gemm/gen-inc/4x8inc-minmax-psimd-loadsplat.c |
| 427 | src/f32-gemm/gen-inc/4x8inc-minmax-psimd-splat.c |
| 428 | src/f32-gemm/gen-inc/4x8s4inc-minmax-psimd.c |
| 429 | src/f32-gemm/gen-inc/6x8inc-minmax-psimd-loadsplat.c |
| 430 | src/f32-gemm/gen-inc/6x8inc-minmax-psimd-splat.c |
| 431 | src/f32-gemm/gen-inc/6x8s4inc-minmax-psimd.c |
Marat Dukhan | 662faa0 | 2019-12-09 22:48:16 -0800 | [diff] [blame] | 432 | src/f32-hswish/gen/psimd-x4.c |
| 433 | src/f32-hswish/gen/psimd-x8.c |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 434 | src/f32-ibilinear/gen/psimd-c4.c |
| 435 | src/f32-ibilinear/gen/psimd-c8.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 436 | src/f32-igemm/gen/1x8-minmax-psimd-loadsplat.c |
| 437 | src/f32-igemm/gen/1x8-minmax-psimd-splat.c |
| 438 | src/f32-igemm/gen/1x8s4-minmax-psimd.c |
| 439 | src/f32-igemm/gen/4x2c4-minmax-psimd.c |
| 440 | src/f32-igemm/gen/4x8-minmax-psimd-loadsplat.c |
| 441 | src/f32-igemm/gen/4x8-minmax-psimd-splat.c |
| 442 | src/f32-igemm/gen/4x8s4-minmax-psimd.c |
| 443 | src/f32-igemm/gen/6x8-minmax-psimd-loadsplat.c |
| 444 | src/f32-igemm/gen/6x8-minmax-psimd-splat.c |
| 445 | src/f32-igemm/gen/6x8s4-minmax-psimd.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 446 | src/f32-maxpool/9p8x-minmax-psimd-c4.c |
| 447 | src/f32-pavgpool/9p8x-minmax-psimd-c4.c |
| 448 | src/f32-pavgpool/9x-minmax-psimd-c4.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 449 | src/f32-ppmm/gen/4x8-minmax-psimd.c |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 450 | src/f32-prelu/gen/psimd-2x4.c |
| 451 | src/f32-prelu/gen/psimd-2x8.c |
Marat Dukhan | b39689d | 2020-01-24 13:32:20 -0800 | [diff] [blame] | 452 | src/f32-rmax/psimd.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 453 | src/f32-vbinary/gen/vadd-minmax-psimd-x4.c |
| 454 | src/f32-vbinary/gen/vadd-minmax-psimd-x8.c |
| 455 | src/f32-vbinary/gen/vaddc-minmax-psimd-x4.c |
| 456 | src/f32-vbinary/gen/vaddc-minmax-psimd-x8.c |
| 457 | src/f32-vbinary/gen/vdiv-minmax-psimd-x4.c |
| 458 | src/f32-vbinary/gen/vdiv-minmax-psimd-x8.c |
| 459 | src/f32-vbinary/gen/vdivc-minmax-psimd-x4.c |
| 460 | src/f32-vbinary/gen/vdivc-minmax-psimd-x8.c |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 461 | src/f32-vbinary/gen/vmax-psimd-x4.c |
| 462 | src/f32-vbinary/gen/vmax-psimd-x8.c |
| 463 | src/f32-vbinary/gen/vmaxc-psimd-x4.c |
| 464 | src/f32-vbinary/gen/vmaxc-psimd-x8.c |
| 465 | src/f32-vbinary/gen/vmin-psimd-x4.c |
| 466 | src/f32-vbinary/gen/vmin-psimd-x8.c |
| 467 | src/f32-vbinary/gen/vminc-psimd-x4.c |
| 468 | src/f32-vbinary/gen/vminc-psimd-x8.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 469 | src/f32-vbinary/gen/vmul-minmax-psimd-x4.c |
| 470 | src/f32-vbinary/gen/vmul-minmax-psimd-x8.c |
| 471 | src/f32-vbinary/gen/vmulc-minmax-psimd-x4.c |
| 472 | src/f32-vbinary/gen/vmulc-minmax-psimd-x8.c |
| 473 | src/f32-vbinary/gen/vrdivc-minmax-psimd-x4.c |
| 474 | src/f32-vbinary/gen/vrdivc-minmax-psimd-x8.c |
| 475 | src/f32-vbinary/gen/vrsubc-minmax-psimd-x4.c |
| 476 | src/f32-vbinary/gen/vrsubc-minmax-psimd-x8.c |
| 477 | src/f32-vbinary/gen/vsub-minmax-psimd-x4.c |
| 478 | src/f32-vbinary/gen/vsub-minmax-psimd-x8.c |
| 479 | src/f32-vbinary/gen/vsubc-minmax-psimd-x4.c |
| 480 | src/f32-vbinary/gen/vsubc-minmax-psimd-x8.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 481 | src/f32-vmulcaddc/gen/c4-minmax-psimd-2x.c |
| 482 | src/f32-vmulcaddc/gen/c8-minmax-psimd-2x.c |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 483 | src/x32-packx/x4-psimd.c |
| 484 | src/x32-pad/x2-psimd.c |
| 485 | src/x32-unpool/psimd.c |
| 486 | src/x32-zip/x2-psimd.c |
| 487 | src/x32-zip/x3-psimd.c |
| 488 | src/x32-zip/x4-psimd.c |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 489 | src/x32-zip/xm-psimd.c |
| 490 | src/requantization/precise-psimd.c |
| 491 | src/requantization/fp32-psimd.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 492 | |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 493 | SET(XNNPACK_PSIMD_ACCMATH_MICROKERNEL_SRCS |
Marat Dukhan | b39689d | 2020-01-24 13:32:20 -0800 | [diff] [blame] | 494 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x4.c |
| 495 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x8.c |
| 496 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x8-acc2.c |
| 497 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x12.c |
| 498 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x12-acc2.c |
| 499 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x12-acc3.c |
| 500 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x16.c |
| 501 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x16-acc2.c |
| 502 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x16-acc4.c |
| 503 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x20.c |
| 504 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x20-acc2.c |
| 505 | src/f32-raddstoreexpminusmax/gen/psimd-p5-x20-acc5.c |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 506 | src/f32-sigmoid/gen/psimd-p5-div-x4.c |
| 507 | src/f32-sigmoid/gen/psimd-p5-div-x8.c |
| 508 | src/f32-sigmoid/gen/psimd-p5-div-x12.c |
| 509 | src/f32-sigmoid/gen/psimd-p5-div-x16.c |
| 510 | src/f32-sigmoid/gen/psimd-p5-div-x20.c |
| 511 | src/f32-sigmoid/gen/psimd-p5-div-x24.c |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 512 | src/math/roundne-psimd-addsub.c |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 513 | src/math/roundd-psimd-addsub.c |
| 514 | src/math/roundu-psimd-addsub.c |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 515 | src/math/roundz-psimd-addsub.c |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 516 | src/math/sigmoid-psimd-p5-div.c) |
| 517 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 518 | SET(XNNPACK_NEON_MICROKERNEL_SRCS |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 519 | src/f32-avgpool/9p8x-minmax-neon-c4.c |
| 520 | src/f32-avgpool/9x-minmax-neon-c4.c |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 521 | src/f32-clamp/gen/neon-x4.c |
| 522 | src/f32-clamp/gen/neon-x8.c |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 523 | src/f32-dwconv/gen/up4x4-minmax-neon.c |
| 524 | src/f32-dwconv/gen/up4x4-minmax-neon-acc2.c |
| 525 | src/f32-dwconv/gen/up8x4-minmax-neon.c |
| 526 | src/f32-dwconv/gen/up8x4-minmax-neon-acc2.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 527 | src/f32-dwconv/gen/up4x9-minmax-neon.c |
| 528 | src/f32-dwconv/gen/up4x9-minmax-neon-acc2.c |
| 529 | src/f32-dwconv/gen/up8x9-minmax-neon.c |
| 530 | src/f32-dwconv/gen/up8x9-minmax-neon-acc2.c |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 531 | src/f32-dwconv/gen/up4x25-minmax-neon.c |
| 532 | src/f32-dwconv/gen/up4x25-minmax-neon-acc2.c |
| 533 | src/f32-dwconv/gen/up8x25-minmax-neon.c |
| 534 | src/f32-dwconv/gen/up8x25-minmax-neon-acc2.c |
Marat Dukhan | 36aecb5 | 2019-11-22 17:21:49 -0800 | [diff] [blame] | 535 | src/f32-gavgpool-spchw/neon-x4.c |
Marat Dukhan | b9d07cf | 2020-04-11 20:25:31 -0700 | [diff] [blame] | 536 | src/f32-gavgpool/7p7x-minmax-neon-c4.c |
| 537 | src/f32-gavgpool/7x-minmax-neon-c4.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 538 | src/f32-gemm/gen/1x8-minmax-neon-lane-ld64.c |
| 539 | src/f32-gemm/gen/4x2-minmax-neon-lane-ld64.c |
| 540 | src/f32-gemm/gen/4x8-minmax-neon-lane-ld128.c |
| 541 | src/f32-gemm/gen/4x8-minmax-neon-lane-ld64.c |
| 542 | src/f32-gemm/gen/5x8-minmax-neon-lane-ld64.c |
| 543 | src/f32-gemm/gen/6x8-minmax-neon-lane-ld64.c |
| 544 | src/f32-gemm/gen/6x8-minmax-neon-lane-ld128.c |
| 545 | src/f32-gemm/gen/1x8-minmax-neon-dup-ld64.c |
| 546 | src/f32-gemm/gen/4x8-minmax-neon-dup-ld128.c |
| 547 | src/f32-gemm/gen/4x8-minmax-neon-dup-ld64.c |
| 548 | src/f32-gemm/gen/6x8-minmax-neon-dup-ld64.c |
| 549 | src/f32-gemm/gen/6x8-minmax-neon-dup-ld128.c |
| 550 | src/f32-gemm/gen/1x8s4-minmax-neon.c |
| 551 | src/f32-gemm/gen/4x8s4-minmax-neon.c |
| 552 | src/f32-gemm/gen/6x8s4-minmax-neon.c |
| 553 | src/f32-gemm/gen/8x8s4-minmax-neon.c |
| 554 | src/f32-gemm/gen-inc/1x8inc-minmax-neon-lane-ld64.c |
| 555 | src/f32-gemm/gen-inc/4x8inc-minmax-neon-lane-ld128.c |
| 556 | src/f32-gemm/gen-inc/4x8inc-minmax-neon-lane-ld64.c |
| 557 | src/f32-gemm/gen-inc/5x8inc-minmax-neon-lane-ld64.c |
| 558 | src/f32-gemm/gen-inc/6x8inc-minmax-neon-lane-ld64.c |
| 559 | src/f32-gemm/gen-inc/6x8inc-minmax-neon-lane-ld128.c |
| 560 | src/f32-gemm/gen-inc/1x8inc-minmax-neon-dup-ld64.c |
| 561 | src/f32-gemm/gen-inc/4x8inc-minmax-neon-dup-ld128.c |
| 562 | src/f32-gemm/gen-inc/4x8inc-minmax-neon-dup-ld64.c |
| 563 | src/f32-gemm/gen-inc/6x8inc-minmax-neon-dup-ld64.c |
| 564 | src/f32-gemm/gen-inc/6x8inc-minmax-neon-dup-ld128.c |
| 565 | src/f32-gemm/gen-inc/1x8s4inc-minmax-neon.c |
| 566 | src/f32-gemm/gen-inc/4x8s4inc-minmax-neon.c |
| 567 | src/f32-gemm/gen-inc/6x8s4inc-minmax-neon.c |
| 568 | src/f32-gemm/gen-inc/8x8s4inc-minmax-neon.c |
Marat Dukhan | 662faa0 | 2019-12-09 22:48:16 -0800 | [diff] [blame] | 569 | src/f32-hswish/gen/neon-x4.c |
| 570 | src/f32-hswish/gen/neon-x8.c |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 571 | src/f32-ibilinear/gen/neon-c4.c |
| 572 | src/f32-ibilinear/gen/neon-c8.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 573 | src/f32-igemm/gen/1x8-minmax-neon-lane-ld64.c |
| 574 | src/f32-igemm/gen/4x2-minmax-neon-lane-ld64.c |
| 575 | src/f32-igemm/gen/4x4-minmax-neon-lane-ld64.c |
| 576 | src/f32-igemm/gen/4x8-minmax-neon-lane-ld128.c |
| 577 | src/f32-igemm/gen/4x8-minmax-neon-lane-ld64.c |
| 578 | src/f32-igemm/gen/6x8-minmax-neon-lane-ld64.c |
| 579 | src/f32-igemm/gen/6x8-minmax-neon-lane-ld128.c |
| 580 | src/f32-igemm/gen/1x8-minmax-neon-dup-ld64.c |
| 581 | src/f32-igemm/gen/4x8-minmax-neon-dup-ld128.c |
| 582 | src/f32-igemm/gen/4x8-minmax-neon-dup-ld64.c |
| 583 | src/f32-igemm/gen/6x8-minmax-neon-dup-ld64.c |
| 584 | src/f32-igemm/gen/6x8-minmax-neon-dup-ld128.c |
| 585 | src/f32-igemm/gen/1x8s4-minmax-neon.c |
| 586 | src/f32-igemm/gen/4x8s4-minmax-neon.c |
| 587 | src/f32-igemm/gen/6x8s4-minmax-neon.c |
| 588 | src/f32-igemm/gen/8x8s4-minmax-neon.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 589 | src/f32-maxpool/9p8x-minmax-neon-c4.c |
| 590 | src/f32-pavgpool/9p8x-minmax-neon-c4.c |
| 591 | src/f32-pavgpool/9x-minmax-neon-c4.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 592 | src/f32-ppmm/gen/4x8-minmax-neon.c |
| 593 | src/f32-ppmm/gen/8x8-minmax-neon.c |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 594 | src/f32-prelu/gen/neon-2x4.c |
| 595 | src/f32-prelu/gen/neon-2x8.c |
Marat Dukhan | 8137e4c | 2020-01-25 12:56:58 -0800 | [diff] [blame] | 596 | src/f32-raddstoreexpminusmax/gen/neon-p5-x4.c |
| 597 | src/f32-raddstoreexpminusmax/gen/neon-p5-x8.c |
| 598 | src/f32-raddstoreexpminusmax/gen/neon-p5-x8-acc2.c |
| 599 | src/f32-raddstoreexpminusmax/gen/neon-p5-x12.c |
| 600 | src/f32-raddstoreexpminusmax/gen/neon-p5-x12-acc2.c |
| 601 | src/f32-raddstoreexpminusmax/gen/neon-p5-x12-acc3.c |
| 602 | src/f32-raddstoreexpminusmax/gen/neon-p5-x16.c |
| 603 | src/f32-raddstoreexpminusmax/gen/neon-p5-x16-acc2.c |
| 604 | src/f32-raddstoreexpminusmax/gen/neon-p5-x16-acc4.c |
| 605 | src/f32-raddstoreexpminusmax/gen/neon-p5-x20.c |
| 606 | src/f32-raddstoreexpminusmax/gen/neon-p5-x20-acc2.c |
| 607 | src/f32-raddstoreexpminusmax/gen/neon-p5-x20-acc5.c |
| 608 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x4.c |
| 609 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x8.c |
| 610 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x8-acc2.c |
| 611 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12.c |
| 612 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12-acc2.c |
| 613 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12-acc3.c |
| 614 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16.c |
| 615 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16-acc2.c |
| 616 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16-acc4.c |
| 617 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20.c |
| 618 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20-acc2.c |
| 619 | src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20-acc5.c |
Marat Dukhan | 36aecb5 | 2019-11-22 17:21:49 -0800 | [diff] [blame] | 620 | src/f32-rmax/neon.c |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 621 | src/f32-sigmoid/gen/neon-frac-p9-p10-nr1recps-x16.c |
Marat Dukhan | 4a24a58 | 2020-01-06 13:30:00 -0800 | [diff] [blame] | 622 | src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x4.c |
| 623 | src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x8.c |
| 624 | src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x12.c |
| 625 | src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x16.c |
| 626 | src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x20.c |
| 627 | src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x24.c |
| 628 | src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x4.c |
| 629 | src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x8.c |
| 630 | src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x12.c |
| 631 | src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x16.c |
| 632 | src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x20.c |
| 633 | src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x24.c |
| 634 | src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x4.c |
| 635 | src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x8.c |
| 636 | src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x12.c |
| 637 | src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x16.c |
| 638 | src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x20.c |
| 639 | src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x24.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 640 | src/f32-vbinary/gen/vadd-minmax-neon-x4.c |
| 641 | src/f32-vbinary/gen/vadd-minmax-neon-x8.c |
| 642 | src/f32-vbinary/gen/vaddc-minmax-neon-x4.c |
| 643 | src/f32-vbinary/gen/vaddc-minmax-neon-x8.c |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 644 | src/f32-vbinary/gen/vmax-neon-x4.c |
| 645 | src/f32-vbinary/gen/vmax-neon-x8.c |
| 646 | src/f32-vbinary/gen/vmaxc-neon-x4.c |
| 647 | src/f32-vbinary/gen/vmaxc-neon-x8.c |
| 648 | src/f32-vbinary/gen/vmin-neon-x4.c |
| 649 | src/f32-vbinary/gen/vmin-neon-x8.c |
| 650 | src/f32-vbinary/gen/vminc-neon-x4.c |
| 651 | src/f32-vbinary/gen/vminc-neon-x8.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 652 | src/f32-vbinary/gen/vmul-minmax-neon-x4.c |
| 653 | src/f32-vbinary/gen/vmul-minmax-neon-x8.c |
| 654 | src/f32-vbinary/gen/vmulc-minmax-neon-x4.c |
| 655 | src/f32-vbinary/gen/vmulc-minmax-neon-x8.c |
| 656 | src/f32-vbinary/gen/vrsubc-minmax-neon-x4.c |
| 657 | src/f32-vbinary/gen/vrsubc-minmax-neon-x8.c |
| 658 | src/f32-vbinary/gen/vsub-minmax-neon-x4.c |
| 659 | src/f32-vbinary/gen/vsub-minmax-neon-x8.c |
| 660 | src/f32-vbinary/gen/vsubc-minmax-neon-x4.c |
| 661 | src/f32-vbinary/gen/vsubc-minmax-neon-x8.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 662 | src/f32-vmulcaddc/gen/c4-minmax-neon-2x.c |
| 663 | src/f32-vmulcaddc/gen/c8-minmax-neon-2x.c |
| 664 | src/q8-avgpool/9p8x-minmax-neon-c8.c |
| 665 | src/q8-avgpool/9x-minmax-neon-c8.c |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 666 | src/q8-dwconv/up8x9-minmax-neon.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 667 | src/q8-gavgpool/7p7x-minmax-neon-c8.c |
| 668 | src/q8-gavgpool/7x-minmax-neon-c8.c |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 669 | src/q8-gemm/4x8-minmax-neon.c |
| 670 | src/q8-gemm/8x8-minmax-neon.c |
| 671 | src/q8-igemm/4x8-minmax-neon.c |
| 672 | src/q8-igemm/8x8-minmax-neon.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 673 | src/q8-vadd/minmax-neon.c |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 674 | src/u8-clamp/neon-x64.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 675 | src/u8-maxpool/9p8x-minmax-neon-c16.c |
Marat Dukhan | 36aecb5 | 2019-11-22 17:21:49 -0800 | [diff] [blame] | 676 | src/u8-rmax/neon.c |
| 677 | src/x32-packx/x4-neon-st4.c |
| 678 | src/x32-pad/x2-neon.c |
Marat Dukhan | 57dccd8 | 2020-04-14 00:53:10 -0700 | [diff] [blame] | 679 | src/x32-unpool/neon.c |
Marat Dukhan | 36aecb5 | 2019-11-22 17:21:49 -0800 | [diff] [blame] | 680 | src/x32-zip/x2-neon.c |
| 681 | src/x32-zip/x3-neon.c |
| 682 | src/x32-zip/x4-neon.c |
| 683 | src/x32-zip/xm-neon.c |
| 684 | src/x8-zip/x2-neon.c |
| 685 | src/x8-zip/x3-neon.c |
| 686 | src/x8-zip/x4-neon.c |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 687 | src/x8-zip/xm-neon.c |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 688 | src/math/roundne-neon-addsub.c |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 689 | src/math/roundd-neon-addsub.c |
| 690 | src/math/roundd-neon-cvt.c |
| 691 | src/math/roundu-neon-addsub.c |
| 692 | src/math/roundu-neon-cvt.c |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 693 | src/math/roundz-neon-addsub.c |
| 694 | src/math/roundz-neon-cvt.c |
Marat Dukhan | 68b3b45 | 2020-01-02 10:11:15 -0800 | [diff] [blame] | 695 | src/math/sigmoid-neon-frac-p9-p10-nr1recps.c |
Marat Dukhan | 77221d3 | 2020-01-06 10:04:39 -0800 | [diff] [blame] | 696 | src/math/sigmoid-neon-rr1-lut2048-p1-nr2recps.c |
| 697 | src/math/sigmoid-neon-rr1-lut64-p2-nr2recps.c |
| 698 | src/math/sigmoid-neon-rr1-p5-nr2recps.c |
| 699 | src/math/sigmoid-neon-rr2-lut2048-p1-nr2recps.c |
| 700 | src/math/sigmoid-neon-rr2-lut64-p2-nr2recps.c |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 701 | src/math/sigmoid-neon-rr2-p5-nr2recps.c |
| 702 | src/requantization/precise-neon.c |
| 703 | src/requantization/fp32-neon.c |
| 704 | src/requantization/q31-neon.c |
| 705 | src/requantization/gemmlowp-neon.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 706 | |
| 707 | SET(XNNPACK_NEONFMA_MICROKERNEL_SRCS |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 708 | src/f32-ibilinear/gen/neonfma-c4.c |
| 709 | src/f32-ibilinear/gen/neonfma-c8.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 710 | src/f32-igemm/gen/1x8-minmax-neonfma-dup-ld64.c |
| 711 | src/f32-igemm/gen/4x8-minmax-neonfma-dup-ld128.c |
| 712 | src/f32-igemm/gen/4x8-minmax-neonfma-dup-ld64.c |
| 713 | src/f32-igemm/gen/6x8-minmax-neonfma-dup-ld64.c |
| 714 | src/f32-igemm/gen/6x8-minmax-neonfma-dup-ld128.c |
| 715 | src/f32-igemm/gen/1x8s4-minmax-neonfma.c |
| 716 | src/f32-igemm/gen/4x8s4-minmax-neonfma.c |
| 717 | src/f32-igemm/gen/6x8s4-minmax-neonfma.c |
| 718 | src/f32-igemm/gen/8x8s4-minmax-neonfma.c |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 719 | src/f32-dwconv/gen/up4x4-minmax-neonfma.c |
| 720 | src/f32-dwconv/gen/up4x4-minmax-neonfma-acc2.c |
| 721 | src/f32-dwconv/gen/up8x4-minmax-neonfma.c |
| 722 | src/f32-dwconv/gen/up8x4-minmax-neonfma-acc2.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 723 | src/f32-dwconv/gen/up4x9-minmax-neonfma.c |
| 724 | src/f32-dwconv/gen/up4x9-minmax-neonfma-acc2.c |
| 725 | src/f32-dwconv/gen/up8x9-minmax-neonfma.c |
| 726 | src/f32-dwconv/gen/up8x9-minmax-neonfma-acc2.c |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 727 | src/f32-dwconv/gen/up4x25-minmax-neonfma.c |
| 728 | src/f32-dwconv/gen/up4x25-minmax-neonfma-acc2.c |
| 729 | src/f32-dwconv/gen/up8x25-minmax-neonfma.c |
| 730 | src/f32-dwconv/gen/up8x25-minmax-neonfma-acc2.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 731 | src/f32-gemm/gen/1x8-minmax-neonfma-dup-ld64.c |
| 732 | src/f32-gemm/gen/4x8-minmax-neonfma-dup-ld128.c |
| 733 | src/f32-gemm/gen/4x8-minmax-neonfma-dup-ld64.c |
| 734 | src/f32-gemm/gen/6x8-minmax-neonfma-dup-ld64.c |
| 735 | src/f32-gemm/gen/6x8-minmax-neonfma-dup-ld128.c |
| 736 | src/f32-gemm/gen/1x8s4-minmax-neonfma.c |
| 737 | src/f32-gemm/gen/4x8s4-minmax-neonfma.c |
| 738 | src/f32-gemm/gen/6x8s4-minmax-neonfma.c |
| 739 | src/f32-gemm/gen/8x8s4-minmax-neonfma.c |
| 740 | src/f32-gemm/gen-inc/1x8inc-minmax-neonfma-dup-ld64.c |
| 741 | src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-dup-ld128.c |
| 742 | src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-dup-ld64.c |
| 743 | src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-dup-ld64.c |
| 744 | src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-dup-ld128.c |
| 745 | src/f32-gemm/gen-inc/1x8s4inc-minmax-neonfma.c |
| 746 | src/f32-gemm/gen-inc/4x8s4inc-minmax-neonfma.c |
| 747 | src/f32-gemm/gen-inc/6x8s4inc-minmax-neonfma.c |
| 748 | src/f32-gemm/gen-inc/8x8s4inc-minmax-neonfma.c |
Marat Dukhan | 662faa0 | 2019-12-09 22:48:16 -0800 | [diff] [blame] | 749 | src/f32-hswish/gen/neonfma-x4.c |
| 750 | src/f32-hswish/gen/neonfma-x8.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 751 | src/f32-ppmm/gen/4x8-minmax-neonfma.c |
| 752 | src/f32-ppmm/gen/8x8-minmax-neonfma.c |
Marat Dukhan | 8137e4c | 2020-01-25 12:56:58 -0800 | [diff] [blame] | 753 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x4.c |
| 754 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x8.c |
| 755 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x8-acc2.c |
| 756 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12.c |
| 757 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12-acc2.c |
| 758 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12-acc3.c |
| 759 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16.c |
| 760 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16-acc2.c |
| 761 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16-acc4.c |
| 762 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20.c |
| 763 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20-acc2.c |
| 764 | src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20-acc5.c |
| 765 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x4.c |
| 766 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x8.c |
| 767 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x8-acc2.c |
| 768 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12.c |
| 769 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12-acc2.c |
| 770 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12-acc3.c |
| 771 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16.c |
| 772 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16-acc2.c |
| 773 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16-acc4.c |
| 774 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20.c |
| 775 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20-acc2.c |
| 776 | src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20-acc5.c |
Marat Dukhan | 4a24a58 | 2020-01-06 13:30:00 -0800 | [diff] [blame] | 777 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x4.c |
| 778 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x8.c |
| 779 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x12.c |
| 780 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x16.c |
| 781 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x20.c |
| 782 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x24.c |
| 783 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x4.c |
| 784 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x8.c |
| 785 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x12.c |
| 786 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x16.c |
| 787 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x20.c |
| 788 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x24.c |
| 789 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x4.c |
| 790 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x8.c |
| 791 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x12.c |
| 792 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x16.c |
| 793 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x20.c |
| 794 | src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x24.c |
| 795 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x4.c |
| 796 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x8.c |
| 797 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x12.c |
| 798 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x16.c |
| 799 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x20.c |
| 800 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x24.c |
| 801 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x4.c |
| 802 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x8.c |
| 803 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x12.c |
| 804 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x16.c |
| 805 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x20.c |
| 806 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x24.c |
| 807 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x4.c |
| 808 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x8.c |
| 809 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x12.c |
| 810 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x16.c |
| 811 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x20.c |
| 812 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x24.c |
| 813 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x4.c |
| 814 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x8.c |
| 815 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x12.c |
| 816 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x16.c |
| 817 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x20.c |
| 818 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x24.c |
| 819 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x4.c |
| 820 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x8.c |
| 821 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x12.c |
| 822 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x16.c |
| 823 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x20.c |
| 824 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x24.c |
| 825 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x4.c |
| 826 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x8.c |
| 827 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x12.c |
| 828 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x16.c |
| 829 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x20.c |
| 830 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x24.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 831 | src/f32-vmulcaddc/gen/c4-minmax-neonfma-2x.c |
| 832 | src/f32-vmulcaddc/gen/c8-minmax-neonfma-2x.c |
Marat Dukhan | 36aecb5 | 2019-11-22 17:21:49 -0800 | [diff] [blame] | 833 | src/math/exp-neonfma-lut64-p2.c |
| 834 | src/math/exp-neonfma-p5.c |
Marat Dukhan | 191e5cd | 2019-11-28 00:52:01 -0800 | [diff] [blame] | 835 | src/math/expminus-neonfma-lut2048-p1.c |
Marat Dukhan | 189ae80 | 2019-11-26 11:28:44 -0800 | [diff] [blame] | 836 | src/math/expminus-neonfma-lut64-p2.c |
Marat Dukhan | 36aecb5 | 2019-11-22 17:21:49 -0800 | [diff] [blame] | 837 | src/math/expminus-neonfma-p5.c |
Marat Dukhan | 77221d3 | 2020-01-06 10:04:39 -0800 | [diff] [blame] | 838 | src/math/sigmoid-neonfma-rr1-lut2048-p1-nr1recps1fma.c |
| 839 | src/math/sigmoid-neonfma-rr1-lut2048-p1-nr2fma.c |
| 840 | src/math/sigmoid-neonfma-rr1-lut2048-p1-nr2recps.c |
| 841 | src/math/sigmoid-neonfma-rr1-lut64-p2-nr1recps1fma.c |
| 842 | src/math/sigmoid-neonfma-rr1-lut64-p2-nr2fma.c |
| 843 | src/math/sigmoid-neonfma-rr1-lut64-p2-nr2recps.c |
| 844 | src/math/sigmoid-neonfma-rr1-p5-nr1recps1fma.c |
| 845 | src/math/sigmoid-neonfma-rr1-p5-nr2fma.c |
| 846 | src/math/sigmoid-neonfma-rr1-p5-nr2recps.c |
| 847 | src/math/sigmoid-neonfma-rr2-lut2048-p1-nr1recps1fma.c |
| 848 | src/math/sigmoid-neonfma-rr2-lut2048-p1-nr2fma.c |
| 849 | src/math/sigmoid-neonfma-rr2-lut2048-p1-nr2recps.c |
| 850 | src/math/sigmoid-neonfma-rr2-lut64-p2-nr1recps1fma.c |
| 851 | src/math/sigmoid-neonfma-rr2-lut64-p2-nr2fma.c |
| 852 | src/math/sigmoid-neonfma-rr2-lut64-p2-nr2recps.c |
| 853 | src/math/sigmoid-neonfma-rr2-p5-nr1recps1fma.c |
| 854 | src/math/sigmoid-neonfma-rr2-p5-nr2fma.c |
| 855 | src/math/sigmoid-neonfma-rr2-p5-nr2recps.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 856 | |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 857 | SET(XNNPACK_NEONV8_MICROKERNEL_SRCS |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 858 | src/math/roundne-neonv8.c |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 859 | src/math/roundd-neonv8.c |
| 860 | src/math/roundu-neonv8.c |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 861 | src/math/roundz-neonv8.c) |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 862 | |
Marat Dukhan | 36aecb5 | 2019-11-22 17:21:49 -0800 | [diff] [blame] | 863 | SET(XNNPACK_AARCH64_NEONFMA_MICROKERNEL_SRCS |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 864 | src/f32-vbinary/gen/vdiv-minmax-neon-x4.c |
| 865 | src/f32-vbinary/gen/vdiv-minmax-neon-x8.c |
| 866 | src/f32-vbinary/gen/vdivc-minmax-neon-x4.c |
| 867 | src/f32-vbinary/gen/vdivc-minmax-neon-x8.c |
| 868 | src/f32-vbinary/gen/vrdivc-minmax-neon-x4.c |
| 869 | src/f32-vbinary/gen/vrdivc-minmax-neon-x8.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 870 | src/f32-gemm/gen/1x8-minmax-neonfma-lane-ld64.c |
| 871 | src/f32-gemm/gen/4x2-minmax-neonfma-lane-ld64.c |
| 872 | src/f32-gemm/gen/4x8-minmax-neonfma-lane-ld128.c |
| 873 | src/f32-gemm/gen/4x8-minmax-neonfma-lane-ld64.c |
| 874 | src/f32-gemm/gen/5x8-minmax-neonfma-lane-ld64.c |
| 875 | src/f32-gemm/gen/6x8-minmax-neonfma-lane-ld64.c |
| 876 | src/f32-gemm/gen/6x8-minmax-neonfma-lane-ld128.c |
| 877 | src/f32-gemm/gen-inc/1x8inc-minmax-neonfma-lane-ld64.c |
| 878 | src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-lane-ld128.c |
| 879 | src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-lane-ld64.c |
| 880 | src/f32-gemm/gen-inc/5x8inc-minmax-neonfma-lane-ld64.c |
| 881 | src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-lane-ld64.c |
| 882 | src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-lane-ld128.c |
| 883 | src/f32-igemm/gen/1x8-minmax-neonfma-lane-ld64.c |
| 884 | src/f32-igemm/gen/4x2-minmax-neonfma-lane-ld64.c |
| 885 | src/f32-igemm/gen/4x4-minmax-neonfma-lane-ld64.c |
| 886 | src/f32-igemm/gen/4x8-minmax-neonfma-lane-ld128.c |
| 887 | src/f32-igemm/gen/4x8-minmax-neonfma-lane-ld64.c |
| 888 | src/f32-igemm/gen/6x8-minmax-neonfma-lane-ld64.c |
| 889 | src/f32-igemm/gen/6x8-minmax-neonfma-lane-ld128.c |
Marat Dukhan | 36aecb5 | 2019-11-22 17:21:49 -0800 | [diff] [blame] | 890 | src/f32-conv-hwc/3x3s2p1c3x4-neonfma-2x2.c |
| 891 | src/f32-conv-hwc/3x3s2p1c3x8-neonfma-2x2.c |
| 892 | src/f32-conv-hwc2spchw/3x3s2p1c3x4-neonfma-2x2.c |
| 893 | src/f32-dwconv-spchw/3x3p1-neonfma.c |
| 894 | src/f32-dwconv-spchw/5x5p2-neonfma.c |
| 895 | src/f32-dwconv-spchw/3x3s2p1-neonfma.c |
| 896 | src/f32-dwconv-spchw/5x5s2p2-neonfma.c |
Marat Dukhan | 4a24a58 | 2020-01-06 13:30:00 -0800 | [diff] [blame] | 897 | src/f32-sigmoid/gen/neonfma-rr1-p5-div-x4.c |
| 898 | src/f32-sigmoid/gen/neonfma-rr1-p5-div-x8.c |
| 899 | src/f32-sigmoid/gen/neonfma-rr1-p5-div-x12.c |
| 900 | src/f32-sigmoid/gen/neonfma-rr1-p5-div-x16.c |
| 901 | src/f32-sigmoid/gen/neonfma-rr1-p5-div-x20.c |
| 902 | src/f32-sigmoid/gen/neonfma-rr1-p5-div-x24.c |
| 903 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x4.c |
| 904 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x8.c |
| 905 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x12.c |
| 906 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x16.c |
| 907 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x20.c |
| 908 | src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x24.c |
| 909 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x4.c |
| 910 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x8.c |
| 911 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x12.c |
| 912 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x16.c |
| 913 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x20.c |
| 914 | src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x24.c |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 915 | src/f32-spmm/gen/12x1-minmax-neonfma.c |
| 916 | src/f32-spmm/gen/12x2-minmax-neonfma.c |
| 917 | src/f32-spmm/gen/12x4-minmax-neonfma.c |
| 918 | src/f32-spmm/gen/16x1-minmax-neonfma-pipelined.c |
| 919 | src/f32-spmm/gen/16x1-minmax-neonfma-unroll2.c |
| 920 | src/f32-spmm/gen/16x1-minmax-neonfma.c |
| 921 | src/f32-spmm/gen/16x2-minmax-neonfma.c |
| 922 | src/f32-spmm/gen/16x4-minmax-neonfma.c |
| 923 | src/f32-spmm/gen/4x1-minmax-neonfma-pipelined.c |
| 924 | src/f32-spmm/gen/4x1-minmax-neonfma-unroll2.c |
| 925 | src/f32-spmm/gen/4x1-minmax-neonfma.c |
| 926 | src/f32-spmm/gen/4x2-minmax-neonfma.c |
| 927 | src/f32-spmm/gen/4x4-minmax-neonfma.c |
| 928 | src/f32-spmm/gen/8x1-minmax-neonfma-pipelined.c |
| 929 | src/f32-spmm/gen/8x1-minmax-neonfma-unroll2.c |
| 930 | src/f32-spmm/gen/8x1-minmax-neonfma.c |
| 931 | src/f32-spmm/gen/8x2-minmax-neonfma.c |
| 932 | src/f32-spmm/gen/8x4-minmax-neonfma.c |
Marat Dukhan | 77221d3 | 2020-01-06 10:04:39 -0800 | [diff] [blame] | 933 | src/math/sigmoid-neonfma-rr1-lut2048-p1-div.c |
| 934 | src/math/sigmoid-neonfma-rr1-lut64-p2-div.c |
| 935 | src/math/sigmoid-neonfma-rr1-p5-div.c |
| 936 | src/math/sigmoid-neonfma-rr2-lut2048-p1-div.c |
| 937 | src/math/sigmoid-neonfma-rr2-lut64-p2-div.c |
| 938 | src/math/sigmoid-neonfma-rr2-p5-div.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 939 | |
| 940 | SET(XNNPACK_AARCH64_NEONFP16ARITH_MICROKERNEL_SRCS |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 941 | src/f16-clamp/gen/neonfp16arith-x16.c |
| 942 | src/f16-clamp/gen/neonfp16arith-x8.c |
| 943 | src/f16-hswish/gen/neonfp16arith-x16.c |
| 944 | src/f16-hswish/gen/neonfp16arith-x8.c |
| 945 | src/f16-prelu/gen/neonfp16arith-2x16.c |
| 946 | src/f16-prelu/gen/neonfp16arith-2x8.c |
Frank Barchard | d793f6c | 2020-05-08 13:37:43 -0700 | [diff] [blame] | 947 | src/f16-vbinary/gen/vaddc-minmax-neonfp16arith-x16.c |
| 948 | src/f16-vbinary/gen/vaddc-minmax-neonfp16arith-x8.c |
| 949 | src/f16-vbinary/gen/vadd-minmax-neonfp16arith-x16.c |
| 950 | src/f16-vbinary/gen/vadd-minmax-neonfp16arith-x8.c |
| 951 | src/f16-vbinary/gen/vdivc-minmax-neonfp16arith-x16.c |
| 952 | src/f16-vbinary/gen/vdivc-minmax-neonfp16arith-x8.c |
| 953 | src/f16-vbinary/gen/vdiv-minmax-neonfp16arith-x16.c |
| 954 | src/f16-vbinary/gen/vdiv-minmax-neonfp16arith-x8.c |
| 955 | src/f16-vbinary/gen/vmaxc-neonfp16arith-x16.c |
| 956 | src/f16-vbinary/gen/vmaxc-neonfp16arith-x8.c |
| 957 | src/f16-vbinary/gen/vmax-neonfp16arith-x16.c |
| 958 | src/f16-vbinary/gen/vmax-neonfp16arith-x8.c |
| 959 | src/f16-vbinary/gen/vminc-neonfp16arith-x16.c |
| 960 | src/f16-vbinary/gen/vminc-neonfp16arith-x8.c |
| 961 | src/f16-vbinary/gen/vmin-neonfp16arith-x16.c |
| 962 | src/f16-vbinary/gen/vmin-neonfp16arith-x8.c |
| 963 | src/f16-vbinary/gen/vmulc-minmax-neonfp16arith-x16.c |
| 964 | src/f16-vbinary/gen/vmulc-minmax-neonfp16arith-x8.c |
| 965 | src/f16-vbinary/gen/vmul-minmax-neonfp16arith-x16.c |
| 966 | src/f16-vbinary/gen/vmul-minmax-neonfp16arith-x8.c |
| 967 | src/f16-vbinary/gen/vrdivc-minmax-neonfp16arith-x16.c |
| 968 | src/f16-vbinary/gen/vrdivc-minmax-neonfp16arith-x8.c |
| 969 | src/f16-vbinary/gen/vrsubc-minmax-neonfp16arith-x16.c |
| 970 | src/f16-vbinary/gen/vrsubc-minmax-neonfp16arith-x8.c |
| 971 | src/f16-vbinary/gen/vsubc-minmax-neonfp16arith-x16.c |
| 972 | src/f16-vbinary/gen/vsubc-minmax-neonfp16arith-x8.c |
| 973 | src/f16-vbinary/gen/vsub-minmax-neonfp16arith-x16.c |
| 974 | src/f16-vbinary/gen/vsub-minmax-neonfp16arith-x8.c |
Frank Barchard | 83ea939 | 2020-04-20 20:15:14 -0700 | [diff] [blame] | 975 | src/f16-gemm/gen/1x8-minmax-neonfp16arith-ld64.c |
| 976 | src/f16-gemm/gen/4x8-minmax-neonfp16arith-ld64.c |
| 977 | src/f16-gemm/gen/6x8-minmax-neonfp16arith-ld64.c |
| 978 | src/f16-gemm/gen/8x8-minmax-neonfp16arith-ld64.c |
| 979 | src/f16-gemm/gen-inc/1x8inc-minmax-neonfp16arith-ld64.c |
| 980 | src/f16-gemm/gen-inc/4x8inc-minmax-neonfp16arith-ld64.c |
| 981 | src/f16-gemm/gen-inc/6x8inc-minmax-neonfp16arith-ld64.c |
| 982 | src/f16-gemm/gen-inc/8x8inc-minmax-neonfp16arith-ld64.c |
Frank Barchard | b0e4fae | 2020-05-04 15:27:51 -0700 | [diff] [blame] | 983 | src/f16-igemm/gen/1x8-minmax-neonfp16arith-ld64.c |
| 984 | src/f16-igemm/gen/4x8-minmax-neonfp16arith-ld64.c |
| 985 | src/f16-igemm/gen/6x8-minmax-neonfp16arith-ld64.c |
| 986 | src/f16-igemm/gen/8x8-minmax-neonfp16arith-ld64.c |
Frank Barchard | 3f9f99f | 2020-05-06 01:12:04 -0700 | [diff] [blame] | 987 | src/f16-gemm/gen/1x16-minmax-neonfp16arith-ld64.c |
| 988 | src/f16-gemm/gen/4x16-minmax-neonfp16arith-ld64.c |
| 989 | src/f16-gemm/gen/6x16-minmax-neonfp16arith-ld64.c |
| 990 | src/f16-gemm/gen/8x16-minmax-neonfp16arith-ld64.c |
| 991 | src/f16-gemm/gen-inc/1x16inc-minmax-neonfp16arith-ld64.c |
| 992 | src/f16-gemm/gen-inc/4x16inc-minmax-neonfp16arith-ld64.c |
| 993 | src/f16-gemm/gen-inc/6x16inc-minmax-neonfp16arith-ld64.c |
| 994 | src/f16-gemm/gen-inc/8x16inc-minmax-neonfp16arith-ld64.c |
| 995 | src/f16-igemm/gen/1x16-minmax-neonfp16arith-ld64.c |
| 996 | src/f16-igemm/gen/4x16-minmax-neonfp16arith-ld64.c |
| 997 | src/f16-igemm/gen/6x16-minmax-neonfp16arith-ld64.c |
| 998 | src/f16-igemm/gen/8x16-minmax-neonfp16arith-ld64.c |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 999 | src/f16-spmm/gen/8x1-minmax-neonfp16arith.c |
| 1000 | src/f16-spmm/gen/8x1-minmax-neonfp16arith-unroll2.c |
| 1001 | src/f16-spmm/gen/16x1-minmax-neonfp16arith.c |
| 1002 | src/f16-spmm/gen/16x1-minmax-neonfp16arith-unroll2.c |
| 1003 | src/f16-spmm/gen/24x1-minmax-neonfp16arith.c |
| 1004 | src/f16-spmm/gen/24x1-minmax-neonfp16arith-unroll2.c |
| 1005 | src/f16-spmm/gen/32x1-minmax-neonfp16arith.c |
| 1006 | src/f16-spmm/gen/32x1-minmax-neonfp16arith-unroll2.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1007 | |
| 1008 | SET(XNNPACK_SSE_MICROKERNEL_SRCS |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1009 | src/f32-avgpool/9p8x-minmax-sse-c4.c |
| 1010 | src/f32-avgpool/9x-minmax-sse-c4.c |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1011 | src/f32-clamp/gen/sse-x4.c |
| 1012 | src/f32-clamp/gen/sse-x8.c |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 1013 | src/f32-dwconv-spchw/3x3p1-sse.c |
| 1014 | src/f32-dwconv-spchw/3x3s2p1-sse.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1015 | src/f32-dwconv/gen/up4x25-minmax-sse-acc2.c |
| 1016 | src/f32-dwconv/gen/up4x25-minmax-sse.c |
| 1017 | src/f32-dwconv/gen/up4x4-minmax-sse-acc2.c |
| 1018 | src/f32-dwconv/gen/up4x4-minmax-sse.c |
| 1019 | src/f32-dwconv/gen/up4x9-minmax-sse-acc2.c |
| 1020 | src/f32-dwconv/gen/up4x9-minmax-sse.c |
| 1021 | src/f32-dwconv/gen/up8x25-minmax-sse-acc2.c |
| 1022 | src/f32-dwconv/gen/up8x25-minmax-sse.c |
| 1023 | src/f32-dwconv/gen/up8x4-minmax-sse-acc2.c |
| 1024 | src/f32-dwconv/gen/up8x4-minmax-sse.c |
| 1025 | src/f32-dwconv/gen/up8x9-minmax-sse-acc2.c |
| 1026 | src/f32-dwconv/gen/up8x9-minmax-sse.c |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1027 | src/f32-gavgpool-spchw/sse-x4.c |
Marat Dukhan | b9d07cf | 2020-04-11 20:25:31 -0700 | [diff] [blame] | 1028 | src/f32-gavgpool/7p7x-minmax-sse-c4.c |
| 1029 | src/f32-gavgpool/7x-minmax-sse-c4.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1030 | src/f32-gemm/gen/1x8-minmax-sse-dup.c |
| 1031 | src/f32-gemm/gen/1x8-minmax-sse-load1.c |
| 1032 | src/f32-gemm/gen/1x8s4-minmax-sse.c |
| 1033 | src/f32-gemm/gen/4x2c4-minmax-sse.c |
| 1034 | src/f32-gemm/gen/4x8-minmax-sse-dup.c |
| 1035 | src/f32-gemm/gen/4x8-minmax-sse-load1.c |
| 1036 | src/f32-gemm/gen/4x8s4-minmax-sse.c |
| 1037 | src/f32-gemm/gen-inc/1x8inc-minmax-sse-dup.c |
| 1038 | src/f32-gemm/gen-inc/1x8inc-minmax-sse-load1.c |
| 1039 | src/f32-gemm/gen-inc/1x8s4inc-minmax-sse.c |
| 1040 | src/f32-gemm/gen-inc/4x8inc-minmax-sse-dup.c |
| 1041 | src/f32-gemm/gen-inc/4x8inc-minmax-sse-load1.c |
| 1042 | src/f32-gemm/gen-inc/4x8s4inc-minmax-sse.c |
Marat Dukhan | 662faa0 | 2019-12-09 22:48:16 -0800 | [diff] [blame] | 1043 | src/f32-hswish/gen/sse-x4.c |
| 1044 | src/f32-hswish/gen/sse-x8.c |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 1045 | src/f32-ibilinear/gen/sse-c4.c |
| 1046 | src/f32-ibilinear/gen/sse-c8.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1047 | src/f32-igemm/gen/1x8-minmax-sse-dup.c |
| 1048 | src/f32-igemm/gen/1x8-minmax-sse-load1.c |
| 1049 | src/f32-igemm/gen/1x8s4-minmax-sse.c |
| 1050 | src/f32-igemm/gen/4x2c4-minmax-sse.c |
| 1051 | src/f32-igemm/gen/4x8-minmax-sse-dup.c |
| 1052 | src/f32-igemm/gen/4x8-minmax-sse-load1.c |
| 1053 | src/f32-igemm/gen/4x8s4-minmax-sse.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1054 | src/f32-maxpool/9p8x-minmax-sse-c4.c |
| 1055 | src/f32-pavgpool/9p8x-minmax-sse-c4.c |
| 1056 | src/f32-pavgpool/9x-minmax-sse-c4.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1057 | src/f32-ppmm/gen/4x8-minmax-sse.c |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1058 | src/f32-rmax/sse.c |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 1059 | src/f32-spmm/gen/4x1-minmax-sse.c |
| 1060 | src/f32-spmm/gen/8x1-minmax-sse.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1061 | src/f32-vbinary/gen/vadd-minmax-sse-x4.c |
| 1062 | src/f32-vbinary/gen/vadd-minmax-sse-x8.c |
| 1063 | src/f32-vbinary/gen/vaddc-minmax-sse-x4.c |
| 1064 | src/f32-vbinary/gen/vaddc-minmax-sse-x8.c |
| 1065 | src/f32-vbinary/gen/vdiv-minmax-sse-x4.c |
| 1066 | src/f32-vbinary/gen/vdiv-minmax-sse-x8.c |
| 1067 | src/f32-vbinary/gen/vdivc-minmax-sse-x4.c |
| 1068 | src/f32-vbinary/gen/vdivc-minmax-sse-x8.c |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 1069 | src/f32-vbinary/gen/vmax-sse-x4.c |
| 1070 | src/f32-vbinary/gen/vmax-sse-x8.c |
| 1071 | src/f32-vbinary/gen/vmaxc-sse-x4.c |
| 1072 | src/f32-vbinary/gen/vmaxc-sse-x8.c |
| 1073 | src/f32-vbinary/gen/vmin-sse-x4.c |
| 1074 | src/f32-vbinary/gen/vmin-sse-x8.c |
| 1075 | src/f32-vbinary/gen/vminc-sse-x4.c |
| 1076 | src/f32-vbinary/gen/vminc-sse-x8.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1077 | src/f32-vbinary/gen/vmul-minmax-sse-x4.c |
| 1078 | src/f32-vbinary/gen/vmul-minmax-sse-x8.c |
| 1079 | src/f32-vbinary/gen/vmulc-minmax-sse-x4.c |
| 1080 | src/f32-vbinary/gen/vmulc-minmax-sse-x8.c |
| 1081 | src/f32-vbinary/gen/vrdivc-minmax-sse-x4.c |
| 1082 | src/f32-vbinary/gen/vrdivc-minmax-sse-x8.c |
| 1083 | src/f32-vbinary/gen/vrsubc-minmax-sse-x4.c |
| 1084 | src/f32-vbinary/gen/vrsubc-minmax-sse-x8.c |
| 1085 | src/f32-vbinary/gen/vsub-minmax-sse-x4.c |
| 1086 | src/f32-vbinary/gen/vsub-minmax-sse-x8.c |
| 1087 | src/f32-vbinary/gen/vsubc-minmax-sse-x4.c |
| 1088 | src/f32-vbinary/gen/vsubc-minmax-sse-x8.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1089 | src/f32-vmulcaddc/gen/c4-minmax-sse-2x.c |
| 1090 | src/f32-vmulcaddc/gen/c8-minmax-sse-2x.c |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1091 | src/x32-packx/x4-sse.c |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1092 | src/math/roundne-sse-addsub.c |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1093 | src/math/roundd-sse-addsub.c |
| 1094 | src/math/roundu-sse-addsub.c |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1095 | src/math/roundz-sse-addsub.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1096 | |
| 1097 | SET(XNNPACK_SSE2_MICROKERNEL_SRCS |
Ashkan Aliabadi | f866a45 | 2019-11-20 10:58:51 -0800 | [diff] [blame] | 1098 | src/f32-argmaxpool/4x-sse2-c4.c |
| 1099 | src/f32-argmaxpool/9p8x-sse2-c4.c |
| 1100 | src/f32-argmaxpool/9x-sse2-c4.c |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1101 | src/f32-prelu/gen/sse2-2x4.c |
| 1102 | src/f32-prelu/gen/sse2-2x8.c |
Marat Dukhan | b39689d | 2020-01-24 13:32:20 -0800 | [diff] [blame] | 1103 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x4.c |
| 1104 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x8.c |
| 1105 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x8-acc2.c |
| 1106 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x12.c |
| 1107 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x12-acc2.c |
| 1108 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x12-acc3.c |
| 1109 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x16.c |
| 1110 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x16-acc2.c |
| 1111 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x16-acc4.c |
| 1112 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x20.c |
| 1113 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x20-acc2.c |
| 1114 | src/f32-raddstoreexpminusmax/gen/sse2-p5-x20-acc5.c |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1115 | src/f32-sigmoid/gen/sse2-p5-div-x4.c |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1116 | src/f32-sigmoid/gen/sse2-p5-div-x8.c |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1117 | src/f32-sigmoid/gen/sse2-p5-div-x12.c |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1118 | src/f32-sigmoid/gen/sse2-p5-div-x16.c |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1119 | src/f32-sigmoid/gen/sse2-p5-div-x20.c |
| 1120 | src/f32-sigmoid/gen/sse2-p5-div-x24.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1121 | src/q8-avgpool/9p8x-minmax-sse2-c8.c |
| 1122 | src/q8-avgpool/9x-minmax-sse2-c8.c |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 1123 | src/q8-igemm/4x4c2-minmax-sse2.c |
| 1124 | src/q8-dwconv/up8x9-minmax-sse2.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1125 | src/q8-gavgpool/7p7x-minmax-sse2-c8.c |
| 1126 | src/q8-gavgpool/7x-minmax-sse2-c8.c |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 1127 | src/q8-gemm/2x4c8-minmax-sse2.c |
| 1128 | src/q8-gemm/4x4c2-minmax-sse2.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1129 | src/q8-vadd/minmax-sse2.c |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1130 | src/u8-clamp/sse2-x64.c |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1131 | src/u8-maxpool/9p8x-minmax-sse2-c16.c |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1132 | src/u8-rmax/sse2.c |
| 1133 | src/x32-pad/x2-sse2.c |
Marat Dukhan | 57dccd8 | 2020-04-14 00:53:10 -0700 | [diff] [blame] | 1134 | src/x32-unpool/sse2.c |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1135 | src/x32-zip/x2-sse2.c |
| 1136 | src/x32-zip/x3-sse2.c |
| 1137 | src/x32-zip/x4-sse2.c |
| 1138 | src/x32-zip/xm-sse2.c |
| 1139 | src/x8-zip/x2-sse2.c |
| 1140 | src/x8-zip/x3-sse2.c |
| 1141 | src/x8-zip/x4-sse2.c |
Marat Dukhan | 9d501d5 | 2019-11-16 02:30:50 -0800 | [diff] [blame] | 1142 | src/x8-zip/xm-sse2.c |
| 1143 | src/math/exp-sse2-p5.c |
Marat Dukhan | 80bafd2 | 2019-11-18 10:16:01 -0800 | [diff] [blame] | 1144 | src/math/expminus-sse2-p5.c |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 1145 | src/math/roundne-sse2-cvt.c |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1146 | src/math/roundd-sse2-cvt.c |
| 1147 | src/math/roundu-sse2-cvt.c |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1148 | src/math/roundz-sse2-cvt.c |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 1149 | src/math/sigmoid-sse2-p5-div.c |
| 1150 | src/requantization/precise-sse2.c |
| 1151 | src/requantization/fp32-sse2.c |
| 1152 | src/requantization/q31-sse2.c |
| 1153 | src/requantization/gemmlowp-sse2.c) |
| 1154 | |
| 1155 | SET(XNNPACK_SSSE3_MICROKERNEL_SRCS |
| 1156 | src/requantization/precise-ssse3.c |
| 1157 | src/requantization/q31-ssse3.c |
| 1158 | src/requantization/gemmlowp-ssse3.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1159 | |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 1160 | SET(XNNPACK_SSE41_MICROKERNEL_SRCS |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1161 | src/f32-prelu/gen/sse41-2x4.c |
| 1162 | src/f32-prelu/gen/sse41-2x8.c |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1163 | src/f32-sigmoid/gen/sse41-p5-div-x4.c |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1164 | src/f32-sigmoid/gen/sse41-p5-div-x8.c |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1165 | src/f32-sigmoid/gen/sse41-p5-div-x12.c |
| 1166 | src/f32-sigmoid/gen/sse41-p5-div-x16.c |
| 1167 | src/f32-sigmoid/gen/sse41-p5-div-x20.c |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 1168 | src/f32-sigmoid/gen/sse41-p5-div-x24.c |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1169 | src/math/roundne-sse41.c |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1170 | src/math/roundd-sse41.c |
| 1171 | src/math/roundu-sse41.c |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1172 | src/math/roundz-sse41.c |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 1173 | src/requantization/precise-sse4.c |
| 1174 | src/requantization/q31-sse4.c |
| 1175 | src/requantization/gemmlowp-sse4.c) |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 1176 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1177 | SET(XNNPACK_AVX_MICROKERNEL_SRCS |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1178 | src/f32-clamp/gen/avx-x8.c |
| 1179 | src/f32-clamp/gen/avx-x16.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1180 | src/f32-dwconv/gen/up16x4-minmax-avx-acc2.c |
| 1181 | src/f32-dwconv/gen/up16x4-minmax-avx.c |
| 1182 | src/f32-dwconv/gen/up8x4-minmax-avx-acc2.c |
| 1183 | src/f32-dwconv/gen/up8x4-minmax-avx.c |
| 1184 | src/f32-dwconv/gen/up16x9-minmax-avx-acc2.c |
| 1185 | src/f32-dwconv/gen/up16x9-minmax-avx.c |
| 1186 | src/f32-dwconv/gen/up8x9-minmax-avx-acc2.c |
| 1187 | src/f32-dwconv/gen/up8x9-minmax-avx.c |
| 1188 | src/f32-dwconv/gen/up16x25-minmax-avx-acc2.c |
| 1189 | src/f32-dwconv/gen/up16x25-minmax-avx.c |
| 1190 | src/f32-dwconv/gen/up8x25-minmax-avx-acc2.c |
| 1191 | src/f32-dwconv/gen/up8x25-minmax-avx.c |
| 1192 | src/f32-gemm/gen/1x8-minmax-avx-broadcast.c |
| 1193 | src/f32-gemm/gen/4x8-minmax-avx-broadcast.c |
| 1194 | src/f32-gemm/gen/5x8-minmax-avx-broadcast.c |
| 1195 | src/f32-gemm/gen/6x8-minmax-avx-broadcast.c |
| 1196 | src/f32-gemm/gen/7x8-minmax-avx-broadcast.c |
| 1197 | src/f32-gemm/gen/1x16-minmax-avx-broadcast.c |
| 1198 | src/f32-gemm/gen/3x16-minmax-avx-broadcast.c |
| 1199 | src/f32-gemm/gen/4x16-minmax-avx-broadcast.c |
| 1200 | src/f32-gemm/gen/5x16-minmax-avx-broadcast.c |
| 1201 | src/f32-gemm/gen-inc/1x8inc-minmax-avx-broadcast.c |
| 1202 | src/f32-gemm/gen-inc/4x8inc-minmax-avx-broadcast.c |
| 1203 | src/f32-gemm/gen-inc/5x8inc-minmax-avx-broadcast.c |
| 1204 | src/f32-gemm/gen-inc/6x8inc-minmax-avx-broadcast.c |
| 1205 | src/f32-gemm/gen-inc/7x8inc-minmax-avx-broadcast.c |
| 1206 | src/f32-gemm/gen-inc/1x16inc-minmax-avx-broadcast.c |
| 1207 | src/f32-gemm/gen-inc/3x16inc-minmax-avx-broadcast.c |
| 1208 | src/f32-gemm/gen-inc/4x16inc-minmax-avx-broadcast.c |
| 1209 | src/f32-gemm/gen-inc/5x16inc-minmax-avx-broadcast.c |
Marat Dukhan | 662faa0 | 2019-12-09 22:48:16 -0800 | [diff] [blame] | 1210 | src/f32-hswish/gen/avx-x8.c |
| 1211 | src/f32-hswish/gen/avx-x16.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1212 | src/f32-igemm/gen/1x8-minmax-avx-broadcast.c |
| 1213 | src/f32-igemm/gen/4x8-minmax-avx-broadcast.c |
| 1214 | src/f32-igemm/gen/5x8-minmax-avx-broadcast.c |
| 1215 | src/f32-igemm/gen/6x8-minmax-avx-broadcast.c |
| 1216 | src/f32-igemm/gen/7x8-minmax-avx-broadcast.c |
| 1217 | src/f32-igemm/gen/1x16-minmax-avx-broadcast.c |
| 1218 | src/f32-igemm/gen/3x16-minmax-avx-broadcast.c |
| 1219 | src/f32-igemm/gen/4x16-minmax-avx-broadcast.c |
| 1220 | src/f32-igemm/gen/5x16-minmax-avx-broadcast.c |
Marat Dukhan | 90eca0a | 2020-03-11 00:52:23 -0700 | [diff] [blame] | 1221 | src/f32-prelu/gen/avx-2x8.c |
| 1222 | src/f32-prelu/gen/avx-2x16.c |
Marat Dukhan | a5977df | 2019-10-30 22:02:15 -0700 | [diff] [blame] | 1223 | src/f32-rmax/avx.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1224 | src/f32-vbinary/gen/vadd-minmax-avx-x8.c |
| 1225 | src/f32-vbinary/gen/vadd-minmax-avx-x16.c |
| 1226 | src/f32-vbinary/gen/vaddc-minmax-avx-x8.c |
| 1227 | src/f32-vbinary/gen/vaddc-minmax-avx-x16.c |
| 1228 | src/f32-vbinary/gen/vdiv-minmax-avx-x8.c |
| 1229 | src/f32-vbinary/gen/vdiv-minmax-avx-x16.c |
| 1230 | src/f32-vbinary/gen/vdivc-minmax-avx-x8.c |
| 1231 | src/f32-vbinary/gen/vdivc-minmax-avx-x16.c |
Marat Dukhan | 9a88efe | 2019-12-10 15:54:24 -0800 | [diff] [blame] | 1232 | src/f32-vbinary/gen/vmax-avx-x8.c |
| 1233 | src/f32-vbinary/gen/vmax-avx-x16.c |
| 1234 | src/f32-vbinary/gen/vmaxc-avx-x8.c |
| 1235 | src/f32-vbinary/gen/vmaxc-avx-x16.c |
| 1236 | src/f32-vbinary/gen/vmin-avx-x8.c |
| 1237 | src/f32-vbinary/gen/vmin-avx-x16.c |
| 1238 | src/f32-vbinary/gen/vminc-avx-x8.c |
| 1239 | src/f32-vbinary/gen/vminc-avx-x16.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1240 | src/f32-vbinary/gen/vmul-minmax-avx-x8.c |
| 1241 | src/f32-vbinary/gen/vmul-minmax-avx-x16.c |
| 1242 | src/f32-vbinary/gen/vmulc-minmax-avx-x8.c |
| 1243 | src/f32-vbinary/gen/vmulc-minmax-avx-x16.c |
| 1244 | src/f32-vbinary/gen/vrdivc-minmax-avx-x8.c |
| 1245 | src/f32-vbinary/gen/vrdivc-minmax-avx-x16.c |
| 1246 | src/f32-vbinary/gen/vrsubc-minmax-avx-x8.c |
| 1247 | src/f32-vbinary/gen/vrsubc-minmax-avx-x16.c |
| 1248 | src/f32-vbinary/gen/vsub-minmax-avx-x8.c |
| 1249 | src/f32-vbinary/gen/vsub-minmax-avx-x16.c |
| 1250 | src/f32-vbinary/gen/vsubc-minmax-avx-x8.c |
| 1251 | src/f32-vbinary/gen/vsubc-minmax-avx-x16.c |
Marat Dukhan | a5977df | 2019-10-30 22:02:15 -0700 | [diff] [blame] | 1252 | src/f32-vscale/avx-unroll32.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1253 | |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 1254 | SET(XNNPACK_FMA3_MICROKERNEL_SRCS |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1255 | src/f32-dwconv/gen/up16x4-minmax-fma3-acc2.c |
| 1256 | src/f32-dwconv/gen/up16x4-minmax-fma3.c |
| 1257 | src/f32-dwconv/gen/up8x4-minmax-fma3-acc2.c |
| 1258 | src/f32-dwconv/gen/up8x4-minmax-fma3.c |
| 1259 | src/f32-dwconv/gen/up16x9-minmax-fma3-acc2.c |
| 1260 | src/f32-dwconv/gen/up16x9-minmax-fma3.c |
| 1261 | src/f32-dwconv/gen/up8x9-minmax-fma3-acc2.c |
| 1262 | src/f32-dwconv/gen/up8x9-minmax-fma3.c |
| 1263 | src/f32-dwconv/gen/up16x25-minmax-fma3-acc2.c |
| 1264 | src/f32-dwconv/gen/up16x25-minmax-fma3.c |
| 1265 | src/f32-dwconv/gen/up8x25-minmax-fma3-acc2.c |
| 1266 | src/f32-dwconv/gen/up8x25-minmax-fma3.c |
| 1267 | src/f32-gemm/gen/1x8-minmax-fma3-broadcast.c |
| 1268 | src/f32-gemm/gen/4x8-minmax-fma3-broadcast.c |
| 1269 | src/f32-gemm/gen/5x8-minmax-fma3-broadcast.c |
| 1270 | src/f32-gemm/gen/6x8-minmax-fma3-broadcast.c |
| 1271 | src/f32-gemm/gen/7x8-minmax-fma3-broadcast.c |
| 1272 | src/f32-gemm/gen/8x8-minmax-fma3-broadcast.c |
| 1273 | src/f32-gemm/gen/1x16-minmax-fma3-broadcast.c |
| 1274 | src/f32-gemm/gen/3x16-minmax-fma3-broadcast.c |
| 1275 | src/f32-gemm/gen/4x16-minmax-fma3-broadcast.c |
| 1276 | src/f32-gemm/gen/5x16-minmax-fma3-broadcast.c |
| 1277 | src/f32-gemm/gen/1x16s4-minmax-fma3-broadcast.c |
| 1278 | src/f32-gemm/gen/3x16s4-minmax-fma3-broadcast.c |
| 1279 | src/f32-gemm/gen/4x16s4-minmax-fma3-broadcast.c |
| 1280 | src/f32-gemm/gen/5x16s4-minmax-fma3-broadcast.c |
| 1281 | src/f32-gemm/gen-inc/1x8inc-minmax-fma3-broadcast.c |
| 1282 | src/f32-gemm/gen-inc/4x8inc-minmax-fma3-broadcast.c |
| 1283 | src/f32-gemm/gen-inc/5x8inc-minmax-fma3-broadcast.c |
| 1284 | src/f32-gemm/gen-inc/6x8inc-minmax-fma3-broadcast.c |
| 1285 | src/f32-gemm/gen-inc/7x8inc-minmax-fma3-broadcast.c |
| 1286 | src/f32-gemm/gen-inc/8x8inc-minmax-fma3-broadcast.c |
| 1287 | src/f32-gemm/gen-inc/1x16inc-minmax-fma3-broadcast.c |
| 1288 | src/f32-gemm/gen-inc/3x16inc-minmax-fma3-broadcast.c |
| 1289 | src/f32-gemm/gen-inc/4x16inc-minmax-fma3-broadcast.c |
| 1290 | src/f32-gemm/gen-inc/5x16inc-minmax-fma3-broadcast.c |
| 1291 | src/f32-gemm/gen-inc/1x16s4inc-minmax-fma3-broadcast.c |
| 1292 | src/f32-gemm/gen-inc/3x16s4inc-minmax-fma3-broadcast.c |
| 1293 | src/f32-gemm/gen-inc/4x16s4inc-minmax-fma3-broadcast.c |
| 1294 | src/f32-gemm/gen-inc/5x16s4inc-minmax-fma3-broadcast.c |
Marat Dukhan | 662faa0 | 2019-12-09 22:48:16 -0800 | [diff] [blame] | 1295 | src/f32-hswish/gen/fma3-x8.c |
| 1296 | src/f32-hswish/gen/fma3-x16.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1297 | src/f32-igemm/gen/1x8-minmax-fma3-broadcast.c |
| 1298 | src/f32-igemm/gen/4x8-minmax-fma3-broadcast.c |
| 1299 | src/f32-igemm/gen/5x8-minmax-fma3-broadcast.c |
| 1300 | src/f32-igemm/gen/6x8-minmax-fma3-broadcast.c |
| 1301 | src/f32-igemm/gen/7x8-minmax-fma3-broadcast.c |
| 1302 | src/f32-igemm/gen/8x8-minmax-fma3-broadcast.c |
| 1303 | src/f32-igemm/gen/1x16-minmax-fma3-broadcast.c |
| 1304 | src/f32-igemm/gen/3x16-minmax-fma3-broadcast.c |
| 1305 | src/f32-igemm/gen/4x16-minmax-fma3-broadcast.c |
| 1306 | src/f32-igemm/gen/5x16-minmax-fma3-broadcast.c |
| 1307 | src/f32-igemm/gen/1x16s4-minmax-fma3-broadcast.c |
| 1308 | src/f32-igemm/gen/3x16s4-minmax-fma3-broadcast.c |
| 1309 | src/f32-igemm/gen/4x16s4-minmax-fma3-broadcast.c |
| 1310 | src/f32-igemm/gen/5x16s4-minmax-fma3-broadcast.c) |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 1311 | |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 1312 | SET(XNNPACK_AVX2_MICROKERNEL_SRCS |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 1313 | src/f32-raddexpminusmax/gen/avx2-p5-x64.c |
| 1314 | src/f32-raddexpminusmax/gen/avx2-p5-x64-acc2.c |
| 1315 | src/f32-raddexpminusmax/gen/avx2-p5-x64-acc4.c |
| 1316 | src/f32-raddexpminusmax/gen/avx2-p5-x72.c |
| 1317 | src/f32-raddexpminusmax/gen/avx2-p5-x72-acc3.c |
| 1318 | src/f32-raddexpminusmax/gen/avx2-p5-x80.c |
| 1319 | src/f32-raddexpminusmax/gen/avx2-p5-x80-acc2.c |
| 1320 | src/f32-raddexpminusmax/gen/avx2-p5-x80-acc5.c |
| 1321 | src/f32-raddexpminusmax/gen/avx2-p5-x96.c |
| 1322 | src/f32-raddexpminusmax/gen/avx2-p5-x96-acc2.c |
| 1323 | src/f32-raddexpminusmax/gen/avx2-p5-x96-acc3.c |
| 1324 | src/f32-raddexpminusmax/gen/avx2-p5-x96-acc6.c |
| 1325 | src/f32-raddextexp/gen/avx2-p5-x64.c |
| 1326 | src/f32-raddextexp/gen/avx2-p5-x64-acc2.c |
| 1327 | src/f32-raddextexp/gen/avx2-p5-x64-acc4.c |
| 1328 | src/f32-raddextexp/gen/avx2-p5-x72.c |
| 1329 | src/f32-raddextexp/gen/avx2-p5-x72-acc3.c |
| 1330 | src/f32-raddextexp/gen/avx2-p5-x80.c |
| 1331 | src/f32-raddextexp/gen/avx2-p5-x80-acc2.c |
| 1332 | src/f32-raddextexp/gen/avx2-p5-x80-acc5.c |
| 1333 | src/f32-raddextexp/gen/avx2-p5-x96.c |
| 1334 | src/f32-raddextexp/gen/avx2-p5-x96-acc2.c |
| 1335 | src/f32-raddextexp/gen/avx2-p5-x96-acc3.c |
| 1336 | src/f32-raddextexp/gen/avx2-p5-x96-acc6.c |
| 1337 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x64.c |
| 1338 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x64-acc2.c |
| 1339 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x64-acc4.c |
| 1340 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x72.c |
| 1341 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x72-acc3.c |
| 1342 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x80.c |
| 1343 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x80-acc2.c |
| 1344 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x80-acc5.c |
| 1345 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x96.c |
| 1346 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc2.c |
| 1347 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc3.c |
| 1348 | src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc6.c |
Marat Dukhan | fa0a432 | 2020-01-06 16:14:29 -0800 | [diff] [blame] | 1349 | src/f32-sigmoid/gen/avx2-rr1-p5-div-x8.c |
| 1350 | src/f32-sigmoid/gen/avx2-rr1-p5-div-x16.c |
| 1351 | src/f32-sigmoid/gen/avx2-rr1-p5-div-x24.c |
| 1352 | src/f32-sigmoid/gen/avx2-rr1-p5-div-x32.c |
| 1353 | src/f32-sigmoid/gen/avx2-rr1-p5-div-x40.c |
| 1354 | src/f32-sigmoid/gen/avx2-rr1-p5-div-x48.c |
| 1355 | src/f32-sigmoid/gen/avx2-rr1-p5-div-x56.c |
| 1356 | src/f32-sigmoid/gen/avx2-rr1-p5-div-x64.c |
| 1357 | src/f32-sigmoid/gen/avx2-rr1-p5-div-x72.c |
| 1358 | src/f32-sigmoid/gen/avx2-rr1-p5-div-x80.c |
| 1359 | src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x8.c |
| 1360 | src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x16.c |
| 1361 | src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x24.c |
| 1362 | src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x32.c |
| 1363 | src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x40.c |
| 1364 | src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x48.c |
| 1365 | src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x56.c |
| 1366 | src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x64.c |
| 1367 | src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x72.c |
| 1368 | src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x80.c |
| 1369 | src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x8.c |
| 1370 | src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x16.c |
| 1371 | src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x24.c |
| 1372 | src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x32.c |
| 1373 | src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x40.c |
| 1374 | src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x48.c |
| 1375 | src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x56.c |
| 1376 | src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x64.c |
| 1377 | src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x72.c |
| 1378 | src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x80.c |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 1379 | src/f32-vscaleexpminusmax/gen/avx2-p5-x8.c |
| 1380 | src/f32-vscaleexpminusmax/gen/avx2-p5-x16.c |
| 1381 | src/f32-vscaleexpminusmax/gen/avx2-p5-x24.c |
| 1382 | src/f32-vscaleexpminusmax/gen/avx2-p5-x32.c |
| 1383 | src/f32-vscaleexpminusmax/gen/avx2-p5-x40.c |
| 1384 | src/f32-vscaleexpminusmax/gen/avx2-p5-x48.c |
| 1385 | src/f32-vscaleexpminusmax/gen/avx2-p5-x56.c |
| 1386 | src/f32-vscaleexpminusmax/gen/avx2-p5-x64.c |
| 1387 | src/f32-vscaleexpminusmax/gen/avx2-p5-x72.c |
| 1388 | src/f32-vscaleexpminusmax/gen/avx2-p5-x80.c |
| 1389 | src/f32-vscaleexpminusmax/gen/avx2-p5-x88.c |
| 1390 | src/f32-vscaleexpminusmax/gen/avx2-p5-x96.c |
| 1391 | src/f32-vscaleextexp/gen/avx2-p5-x8.c |
| 1392 | src/f32-vscaleextexp/gen/avx2-p5-x16.c |
| 1393 | src/f32-vscaleextexp/gen/avx2-p5-x24.c |
| 1394 | src/f32-vscaleextexp/gen/avx2-p5-x32.c |
| 1395 | src/f32-vscaleextexp/gen/avx2-p5-x40.c |
| 1396 | src/f32-vscaleextexp/gen/avx2-p5-x48.c |
| 1397 | src/f32-vscaleextexp/gen/avx2-p5-x56.c |
| 1398 | src/f32-vscaleextexp/gen/avx2-p5-x64.c |
| 1399 | src/f32-vscaleextexp/gen/avx2-p5-x72.c |
| 1400 | src/f32-vscaleextexp/gen/avx2-p5-x80.c |
| 1401 | src/f32-vscaleextexp/gen/avx2-p5-x88.c |
| 1402 | src/f32-vscaleextexp/gen/avx2-p5-x96.c |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 1403 | src/math/exp-avx2-p5.c |
| 1404 | src/math/exp-avx2-perm-p3.c |
Marat Dukhan | 515c977 | 2019-10-17 18:07:57 -0700 | [diff] [blame] | 1405 | src/math/exp-avx2-perm-p4.c |
Marat Dukhan | 9d501d5 | 2019-11-16 02:30:50 -0800 | [diff] [blame] | 1406 | src/math/expminus-avx2-p5.c |
Marat Dukhan | 7241600 | 2020-01-05 21:53:19 -0800 | [diff] [blame] | 1407 | src/math/extexp-avx2-p5.c |
| 1408 | src/math/sigmoid-avx2-rr2-p5-div.c |
| 1409 | src/math/sigmoid-avx2-rr1-p5-div.c |
| 1410 | src/math/sigmoid-avx2-rr2-p5-nr2fma.c |
| 1411 | src/math/sigmoid-avx2-rr1-p5-nr2fma.c |
| 1412 | src/math/sigmoid-avx2-rr2-p5-nr1fma.c |
| 1413 | src/math/sigmoid-avx2-rr1-p5-nr1fma.c) |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 1414 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1415 | SET(XNNPACK_AVX512F_MICROKERNEL_SRCS |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1416 | src/f32-clamp/gen/avx512f-x16.c |
| 1417 | src/f32-clamp/gen/avx512f-x32.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1418 | src/f32-dwconv/gen/up32x4-minmax-avx512f-acc2.c |
| 1419 | src/f32-dwconv/gen/up32x4-minmax-avx512f.c |
| 1420 | src/f32-dwconv/gen/up16x4-minmax-avx512f-acc2.c |
| 1421 | src/f32-dwconv/gen/up16x4-minmax-avx512f.c |
| 1422 | src/f32-dwconv/gen/up32x9-minmax-avx512f-acc2.c |
| 1423 | src/f32-dwconv/gen/up32x9-minmax-avx512f.c |
| 1424 | src/f32-dwconv/gen/up16x9-minmax-avx512f-acc2.c |
| 1425 | src/f32-dwconv/gen/up16x9-minmax-avx512f.c |
| 1426 | src/f32-dwconv/gen/up32x25-minmax-avx512f-acc2.c |
| 1427 | src/f32-dwconv/gen/up32x25-minmax-avx512f.c |
| 1428 | src/f32-dwconv/gen/up16x25-minmax-avx512f-acc2.c |
| 1429 | src/f32-dwconv/gen/up16x25-minmax-avx512f.c |
| 1430 | src/f32-gemm/gen/1x16-minmax-avx512f-broadcast.c |
| 1431 | src/f32-gemm/gen/4x16-minmax-avx512f-broadcast.c |
| 1432 | src/f32-gemm/gen/5x16-minmax-avx512f-broadcast.c |
| 1433 | src/f32-gemm/gen/6x16-minmax-avx512f-broadcast.c |
| 1434 | src/f32-gemm/gen/7x16-minmax-avx512f-broadcast.c |
| 1435 | src/f32-gemm/gen/8x16-minmax-avx512f-broadcast.c |
| 1436 | src/f32-gemm/gen-inc/1x16inc-minmax-avx512f-broadcast.c |
| 1437 | src/f32-gemm/gen-inc/4x16inc-minmax-avx512f-broadcast.c |
| 1438 | src/f32-gemm/gen-inc/5x16inc-minmax-avx512f-broadcast.c |
| 1439 | src/f32-gemm/gen-inc/6x16inc-minmax-avx512f-broadcast.c |
| 1440 | src/f32-gemm/gen-inc/7x16inc-minmax-avx512f-broadcast.c |
| 1441 | src/f32-gemm/gen-inc/8x16inc-minmax-avx512f-broadcast.c |
Marat Dukhan | 662faa0 | 2019-12-09 22:48:16 -0800 | [diff] [blame] | 1442 | src/f32-hswish/gen/avx512f-x16.c |
| 1443 | src/f32-hswish/gen/avx512f-x32.c |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1444 | src/f32-igemm/gen/1x16-minmax-avx512f-broadcast.c |
| 1445 | src/f32-igemm/gen/4x16-minmax-avx512f-broadcast.c |
| 1446 | src/f32-igemm/gen/5x16-minmax-avx512f-broadcast.c |
| 1447 | src/f32-igemm/gen/6x16-minmax-avx512f-broadcast.c |
| 1448 | src/f32-igemm/gen/7x16-minmax-avx512f-broadcast.c |
| 1449 | src/f32-igemm/gen/8x16-minmax-avx512f-broadcast.c |
Marat Dukhan | 90eca0a | 2020-03-11 00:52:23 -0700 | [diff] [blame] | 1450 | src/f32-prelu/gen/avx512f-2x16.c |
| 1451 | src/f32-prelu/gen/avx512f-2x32.c |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 1452 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128.c |
| 1453 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128-acc2.c |
| 1454 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128-acc4.c |
| 1455 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x144.c |
| 1456 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x144-acc3.c |
| 1457 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160.c |
| 1458 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160-acc2.c |
| 1459 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160-acc5.c |
| 1460 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192.c |
| 1461 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc2.c |
| 1462 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc3.c |
| 1463 | src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc6.c |
| 1464 | src/f32-raddextexp/gen/avx512f-p5-scalef-x128.c |
| 1465 | src/f32-raddextexp/gen/avx512f-p5-scalef-x128-acc2.c |
| 1466 | src/f32-raddextexp/gen/avx512f-p5-scalef-x128-acc4.c |
| 1467 | src/f32-raddextexp/gen/avx512f-p5-scalef-x144.c |
| 1468 | src/f32-raddextexp/gen/avx512f-p5-scalef-x144-acc3.c |
| 1469 | src/f32-raddextexp/gen/avx512f-p5-scalef-x160.c |
| 1470 | src/f32-raddextexp/gen/avx512f-p5-scalef-x160-acc2.c |
| 1471 | src/f32-raddextexp/gen/avx512f-p5-scalef-x160-acc5.c |
| 1472 | src/f32-raddextexp/gen/avx512f-p5-scalef-x192.c |
| 1473 | src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc2.c |
| 1474 | src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc3.c |
| 1475 | src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc6.c |
| 1476 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128.c |
| 1477 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128-acc2.c |
| 1478 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128-acc4.c |
| 1479 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x144.c |
| 1480 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x144-acc3.c |
| 1481 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160.c |
| 1482 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160-acc2.c |
| 1483 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160-acc5.c |
| 1484 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192.c |
| 1485 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc2.c |
| 1486 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc3.c |
| 1487 | src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc6.c |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 1488 | src/f32-rmax/avx512f.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1489 | src/f32-vbinary/gen/vadd-minmax-avx512f-x16.c |
| 1490 | src/f32-vbinary/gen/vadd-minmax-avx512f-x32.c |
| 1491 | src/f32-vbinary/gen/vaddc-minmax-avx512f-x16.c |
| 1492 | src/f32-vbinary/gen/vaddc-minmax-avx512f-x32.c |
| 1493 | src/f32-vbinary/gen/vdiv-minmax-avx512f-x16.c |
| 1494 | src/f32-vbinary/gen/vdiv-minmax-avx512f-x32.c |
| 1495 | src/f32-vbinary/gen/vdivc-minmax-avx512f-x16.c |
| 1496 | src/f32-vbinary/gen/vdivc-minmax-avx512f-x32.c |
Marat Dukhan | 9a88efe | 2019-12-10 15:54:24 -0800 | [diff] [blame] | 1497 | src/f32-vbinary/gen/vmax-avx512f-x16.c |
| 1498 | src/f32-vbinary/gen/vmax-avx512f-x32.c |
| 1499 | src/f32-vbinary/gen/vmaxc-avx512f-x16.c |
| 1500 | src/f32-vbinary/gen/vmaxc-avx512f-x32.c |
| 1501 | src/f32-vbinary/gen/vmin-avx512f-x16.c |
| 1502 | src/f32-vbinary/gen/vmin-avx512f-x32.c |
| 1503 | src/f32-vbinary/gen/vminc-avx512f-x16.c |
| 1504 | src/f32-vbinary/gen/vminc-avx512f-x32.c |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1505 | src/f32-vbinary/gen/vmul-minmax-avx512f-x16.c |
| 1506 | src/f32-vbinary/gen/vmul-minmax-avx512f-x32.c |
| 1507 | src/f32-vbinary/gen/vmulc-minmax-avx512f-x16.c |
| 1508 | src/f32-vbinary/gen/vmulc-minmax-avx512f-x32.c |
| 1509 | src/f32-vbinary/gen/vrdivc-minmax-avx512f-x16.c |
| 1510 | src/f32-vbinary/gen/vrdivc-minmax-avx512f-x32.c |
| 1511 | src/f32-vbinary/gen/vrsubc-minmax-avx512f-x16.c |
| 1512 | src/f32-vbinary/gen/vrsubc-minmax-avx512f-x32.c |
| 1513 | src/f32-vbinary/gen/vsub-minmax-avx512f-x16.c |
| 1514 | src/f32-vbinary/gen/vsub-minmax-avx512f-x32.c |
| 1515 | src/f32-vbinary/gen/vsubc-minmax-avx512f-x16.c |
| 1516 | src/f32-vbinary/gen/vsubc-minmax-avx512f-x32.c |
Marat Dukhan | a5977df | 2019-10-30 22:02:15 -0700 | [diff] [blame] | 1517 | src/f32-vscale/avx512f-unroll64.c |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 1518 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x16.c |
| 1519 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x32.c |
| 1520 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x48.c |
| 1521 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x64.c |
| 1522 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x80.c |
| 1523 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x96.c |
| 1524 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x112.c |
| 1525 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x128.c |
| 1526 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x144.c |
| 1527 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x160.c |
| 1528 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x176.c |
| 1529 | src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x192.c |
| 1530 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x16.c |
| 1531 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x32.c |
| 1532 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x48.c |
| 1533 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x64.c |
| 1534 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x80.c |
| 1535 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x96.c |
| 1536 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x112.c |
| 1537 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x128.c |
| 1538 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x144.c |
| 1539 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x160.c |
| 1540 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x176.c |
| 1541 | src/f32-vscaleextexp/gen/avx512f-p5-scalef-x192.c |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 1542 | src/math/exp-avx512f-p5-scalef.c |
| 1543 | src/math/exp-avx512f-p5.c |
Marat Dukhan | feb4923 | 2019-10-28 11:03:31 -0700 | [diff] [blame] | 1544 | src/math/exp-avx512f-perm-p3.c |
Marat Dukhan | 9d501d5 | 2019-11-16 02:30:50 -0800 | [diff] [blame] | 1545 | src/math/exp-avx512f-perm2-p2.c |
| 1546 | src/math/extexp-avx512f-p5.c) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1547 | |
| 1548 | SET(XNNPACK_AARCH32_ASM_MICROKERNEL_SRCS |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1549 | src/f32-gemm/4x8-minmax-aarch32-neon-cortex-a53.S |
| 1550 | src/f32-gemm/4x8-minmax-aarch32-neon-cortex-a55.S |
| 1551 | src/f32-gemm/gen/4x8-minmax-aarch32-neon-cortex-a75.S |
| 1552 | src/f32-gemm/gen/4x8-minmax-aarch32-neon-pld-cortex-a75.S |
| 1553 | src/f32-gemm/4x8-minmax-aarch32-neon-ld64.S |
| 1554 | src/f32-igemm/4x8-minmax-aarch32-neon-ld64.S |
| 1555 | src/f32-igemm/gen/4x8-minmax-aarch32-neon-cortex-a75.S |
| 1556 | src/f32-igemm/gen/4x8-minmax-aarch32-neon-pld-cortex-a75.S |
| 1557 | src/f32-igemm/4x8-minmax-aarch32-neon-cortex-a53.S |
| 1558 | src/f32-igemm/4x8-minmax-aarch32-neon-cortex-a55.S) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1559 | |
| 1560 | SET(XNNPACK_AARCH64_ASM_MICROKERNEL_SRCS |
Frank Barchard | 36b76b6 | 2020-04-10 12:39:17 -0700 | [diff] [blame] | 1561 | src/f16-gemm/gen/1x16-minmax-aarch64-neonfp16arith-ld32.S |
Frank Barchard | 683f559 | 2020-04-10 00:48:26 -0700 | [diff] [blame] | 1562 | src/f16-gemm/gen/4x16-minmax-aarch64-neonfp16arith-ld32.S |
| 1563 | src/f16-gemm/gen/6x16-minmax-aarch64-neonfp16arith-ld32.S |
Frank Barchard | 36b76b6 | 2020-04-10 12:39:17 -0700 | [diff] [blame] | 1564 | src/f16-gemm/gen-inc/1x16inc-minmax-aarch64-neonfp16arith-ld32.S |
Frank Barchard | 683f559 | 2020-04-10 00:48:26 -0700 | [diff] [blame] | 1565 | src/f16-gemm/gen-inc/4x16inc-minmax-aarch64-neonfp16arith-ld32.S |
| 1566 | src/f16-gemm/gen-inc/6x16inc-minmax-aarch64-neonfp16arith-ld32.S |
Frank Barchard | bddfbcd | 2020-04-15 12:32:41 -0700 | [diff] [blame] | 1567 | src/f16-gemm/gen/1x8-minmax-aarch64-neonfp16arith-ld64.S |
| 1568 | src/f16-gemm/gen/4x8-minmax-aarch64-neonfp16arith-ld64.S |
| 1569 | src/f16-gemm/gen/6x8-minmax-aarch64-neonfp16arith-ld64.S |
Frank Barchard | 3b8e566 | 2020-04-20 12:12:53 -0700 | [diff] [blame] | 1570 | src/f16-gemm/gen/8x8-minmax-aarch64-neonfp16arith-ld64.S |
Frank Barchard | bddfbcd | 2020-04-15 12:32:41 -0700 | [diff] [blame] | 1571 | src/f16-gemm/gen-inc/1x8inc-minmax-aarch64-neonfp16arith-ld64.S |
| 1572 | src/f16-gemm/gen-inc/4x8inc-minmax-aarch64-neonfp16arith-ld64.S |
| 1573 | src/f16-gemm/gen-inc/6x8inc-minmax-aarch64-neonfp16arith-ld64.S |
Frank Barchard | 3b8e566 | 2020-04-20 12:12:53 -0700 | [diff] [blame] | 1574 | src/f16-gemm/gen-inc/8x8inc-minmax-aarch64-neonfp16arith-ld64.S |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1575 | src/f32-dwconv/up4x9-minmax-aarch64-neonfma-cortex-a55.S |
| 1576 | src/f32-dwconv/up4x9-minmax-aarch64-neonfma.S |
Frank Barchard | 3cb54f9 | 2020-04-10 10:46:08 -0700 | [diff] [blame] | 1577 | src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-ld64.S |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1578 | src/f32-gemm/gen/1x12-minmax-aarch64-neonfma-cortex-a53.S |
| 1579 | src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a53.S |
| 1580 | src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a57.S |
| 1581 | src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a75.S |
| 1582 | src/f32-gemm/gen/4x12-minmax-aarch64-neonfma-cortex-a53.S |
| 1583 | src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a53.S |
| 1584 | src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a55.S |
| 1585 | src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a57.S |
| 1586 | src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a75.S |
| 1587 | src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-ld128.S |
| 1588 | src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-ld64.S |
| 1589 | src/f32-gemm/gen/5x8-minmax-aarch64-neonfma-cortex-a57.S |
| 1590 | src/f32-gemm/gen/5x8-minmax-aarch64-neonfma-cortex-a75.S |
| 1591 | src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a53.S |
| 1592 | src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a55.S |
| 1593 | src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a73.S |
| 1594 | src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a57.S |
| 1595 | src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a75.S |
| 1596 | src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-ios.S |
| 1597 | src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-ld128.S |
| 1598 | src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-ld64.S |
Frank Barchard | 3cb54f9 | 2020-04-10 10:46:08 -0700 | [diff] [blame] | 1599 | src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-ld64.S |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1600 | src/f32-gemm/gen-inc/1x12inc-minmax-aarch64-neonfma-cortex-a53.S |
| 1601 | src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a53.S |
| 1602 | src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a57.S |
| 1603 | src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a75.S |
| 1604 | src/f32-gemm/gen-inc/4x12inc-minmax-aarch64-neonfma-cortex-a53.S |
| 1605 | src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a53.S |
| 1606 | src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a55.S |
| 1607 | src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a57.S |
| 1608 | src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a75.S |
| 1609 | src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-ld128.S |
| 1610 | src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-ld64.S |
| 1611 | src/f32-gemm/gen-inc/5x8inc-minmax-aarch64-neonfma-cortex-a57.S |
| 1612 | src/f32-gemm/gen-inc/5x8inc-minmax-aarch64-neonfma-cortex-a75.S |
| 1613 | src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a53.S |
| 1614 | src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a55.S |
| 1615 | src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a73.S |
| 1616 | src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a57.S |
| 1617 | src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a75.S |
| 1618 | src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-ios.S |
| 1619 | src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-ld128.S |
| 1620 | src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-ld64.S |
| 1621 | src/f32-igemm/1x12-minmax-aarch64-neonfma-cortex-a53.S |
| 1622 | src/f32-igemm/1x8-minmax-aarch64-neonfma-cortex-a53.S |
| 1623 | src/f32-igemm/gen/1x8-minmax-aarch64-neonfma-cortex-a57.S |
| 1624 | src/f32-igemm/gen/1x8-minmax-aarch64-neonfma-cortex-a75.S |
| 1625 | src/f32-igemm/4x8-minmax-aarch64-neonfma-cortex-a53.S |
| 1626 | src/f32-igemm/4x8-minmax-aarch64-neonfma-cortex-a55.S |
| 1627 | src/f32-igemm/4x12-minmax-aarch64-neonfma-cortex-a53.S |
| 1628 | src/f32-igemm/gen/4x8-minmax-aarch64-neonfma-cortex-a57.S |
| 1629 | src/f32-igemm/gen/4x8-minmax-aarch64-neonfma-cortex-a75.S |
| 1630 | src/f32-igemm/gen/5x8-minmax-aarch64-neonfma-cortex-a57.S |
| 1631 | src/f32-igemm/gen/5x8-minmax-aarch64-neonfma-cortex-a75.S |
| 1632 | src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a53.S |
| 1633 | src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a55.S |
| 1634 | src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a73.S |
| 1635 | src/f32-igemm/gen/6x8-minmax-aarch64-neonfma-cortex-a57.S |
| 1636 | src/f32-igemm/gen/6x8-minmax-aarch64-neonfma-cortex-a75.S |
| 1637 | src/f32-igemm/gen/6x8-minmax-aarch64-neonfma-ios.S) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1638 | |
| 1639 | SET(XNNPACK_MICROKERNEL_SRCS ${XNNPACK_SCALAR_MICROKERNEL_SRCS}) |
Marat Dukhan | 29c6b26 | 2020-04-14 18:07:56 -0700 | [diff] [blame] | 1640 | IF(NOT EMSCRIPTEN AND NOT MSVC AND NOT CMAKE_C_COMPILER_ID STREQUAL "Intel") |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1641 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_PSIMD_FASTMATH_MICROKERNEL_SRCS}) |
| 1642 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_PSIMD_ACCMATH_MICROKERNEL_SRCS}) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1643 | ENDIF() |
| 1644 | IF(CMAKE_SYSTEM_PROCESSOR MATCHES "^armv[5-8]" OR IOS_ARCH MATCHES "^armv7") |
| 1645 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_NEON_MICROKERNEL_SRCS}) |
| 1646 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_NEONFMA_MICROKERNEL_SRCS}) |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1647 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_NEONV8_MICROKERNEL_SRCS}) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1648 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_AARCH32_ASM_MICROKERNEL_SRCS}) |
| 1649 | ENDIF() |
| 1650 | IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" OR IOS_ARCH MATCHES "^arm64.*") |
| 1651 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_NEON_MICROKERNEL_SRCS}) |
| 1652 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_NEONFMA_MICROKERNEL_SRCS}) |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1653 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_NEONV8_MICROKERNEL_SRCS}) |
Marat Dukhan | 36aecb5 | 2019-11-22 17:21:49 -0800 | [diff] [blame] | 1654 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_AARCH64_NEONFMA_MICROKERNEL_SRCS}) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1655 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_AARCH64_NEONFP16ARITH_MICROKERNEL_SRCS}) |
| 1656 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_AARCH64_ASM_MICROKERNEL_SRCS}) |
| 1657 | ENDIF() |
Yasuhiro Matsumoto | 462be05 | 2020-02-29 13:41:14 +0900 | [diff] [blame] | 1658 | IF(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i[3-6]86|x86_64|AMD64)$" OR IOS_ARCH MATCHES "^(i386|x86_64|AMD64)$") |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1659 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_SSE_MICROKERNEL_SRCS}) |
| 1660 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_SSE2_MICROKERNEL_SRCS}) |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 1661 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_SSSE3_MICROKERNEL_SRCS}) |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 1662 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_SSE41_MICROKERNEL_SRCS}) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1663 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_AVX_MICROKERNEL_SRCS}) |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 1664 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_FMA3_MICROKERNEL_SRCS}) |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 1665 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_AVX2_MICROKERNEL_SRCS}) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1666 | LIST(APPEND XNNPACK_MICROKERNEL_SRCS ${XNNPACK_AVX512F_MICROKERNEL_SRCS}) |
| 1667 | ENDIF() |
| 1668 | |
| 1669 | IF(XNNPACK_LIBRARY_TYPE STREQUAL "default") |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 1670 | ADD_LIBRARY(XNNPACK ${XNNPACK_COLD_SRCS} ${XNNPACK_HOT_SRCS} ${XNNPACK_TABLE_SRCS} ${XNNPACK_MICROKERNEL_SRCS}) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1671 | ELSEIF(XNNPACK_LIBRARY_TYPE STREQUAL "shared") |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 1672 | ADD_LIBRARY(XNNPACK SHARED ${XNNPACK_COLD_SRCS} ${XNNPACK_HOT_SRCS} ${XNNPACK_TABLE_SRCS} ${XNNPACK_MICROKERNEL_SRCS}) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1673 | ELSEIF(XNNPACK_LIBRARY_TYPE STREQUAL "static") |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 1674 | ADD_LIBRARY(XNNPACK STATIC ${XNNPACK_COLD_SRCS} ${XNNPACK_HOT_SRCS} ${XNNPACK_TABLE_SRCS} ${XNNPACK_MICROKERNEL_SRCS}) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1675 | ELSE() |
| 1676 | MESSAGE(FATAL_ERROR "Unsupported XNNPACK library type \"${XNNPACK_LIBRARY_TYPE}\". Must be \"static\", \"shared\", or \"default\"") |
| 1677 | ENDIF() |
| 1678 | SET_TARGET_PROPERTIES(XNNPACK PROPERTIES |
| 1679 | C_STANDARD 99 |
| 1680 | C_EXTENSIONS YES) |
| 1681 | IF(CMAKE_SYSTEM_PROCESSOR MATCHES "^armv[5-8]" OR IOS_ARCH MATCHES "^armv7") |
| 1682 | SET_PROPERTY(SOURCE ${XNNPACK_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -marm ") |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1683 | SET_PROPERTY(SOURCE ${XNNPACK_PSIMD_FASTMATH_MICROKERNEL_SRCS} ${XNNPACK_PSIMD_ACCMATH_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -march=armv7-a -mfpu=neon ") |
| 1684 | SET_PROPERTY(SOURCE ${XNNPACK_NEON_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -march=armv7-a -mfpu=neon ") |
| 1685 | SET_PROPERTY(SOURCE ${XNNPACK_NEONFMA_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -march=armv7-a -mfpu=neon-vfpv4 ") |
| 1686 | SET_PROPERTY(SOURCE ${XNNPACK_NEONV8_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -march=armv8-a -mfpu=neon-fp-armv8 ") |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1687 | IF(IOS) |
Tao Xu | 8426814 | 2020-02-03 15:18:31 -0800 | [diff] [blame] | 1688 | SET_PROPERTY(SOURCE ${XNNPACK_AARCH32_ASM_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -arch ${IOS_ARCH} ") |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1689 | ENDIF() |
| 1690 | ENDIF() |
| 1691 | IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" OR IOS_ARCH MATCHES "^arm64.*") |
| 1692 | SET_PROPERTY(SOURCE ${XNNPACK_AARCH64_NEONFP16ARITH_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -march=armv8.2-a+fp16 ") |
Frank Barchard | 683f559 | 2020-04-10 00:48:26 -0700 | [diff] [blame] | 1693 | SET_PROPERTY(SOURCE ${XNNPACK_AARCH64_ASM_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -march=armv8.2-a+fp16 ") |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1694 | IF(IOS) |
Tao Xu | 8426814 | 2020-02-03 15:18:31 -0800 | [diff] [blame] | 1695 | SET_PROPERTY(SOURCE ${XNNPACK_AARCH64_ASM_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -arch ${IOS_ARCH} ") |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1696 | ENDIF() |
| 1697 | ENDIF() |
Marat Dukhan | 7795c3a | 2020-04-14 20:45:36 -0700 | [diff] [blame] | 1698 | IF(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i[3-6]86|x86|x86_64|AMD64)$" OR IOS_ARCH MATCHES "^(i386|x86_64|AMD64)$") |
| 1699 | IF(MSVC) |
| 1700 | IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86" OR CMAKE_SIZEOF_VOID_P EQUAL 4) |
| 1701 | SET_PROPERTY(SOURCE ${XNNPACK_SSE_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " /arch:SSE ") |
| 1702 | SET_PROPERTY(SOURCE ${XNNPACK_SSE2_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " /arch:SSE2 ") |
| 1703 | SET_PROPERTY(SOURCE ${XNNPACK_SSSE3_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " /arch:SSE2 ") |
| 1704 | SET_PROPERTY(SOURCE ${XNNPACK_SSE41_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " /arch:SSE2 ") |
| 1705 | ENDIF() |
| 1706 | SET_PROPERTY(SOURCE ${XNNPACK_AVX_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " /arch:AVX ") |
| 1707 | SET_PROPERTY(SOURCE ${XNNPACK_FMA3_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " /arch:AVX ") |
| 1708 | SET_PROPERTY(SOURCE ${XNNPACK_AVX2_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " /arch:AVX2 ") |
| 1709 | SET_PROPERTY(SOURCE ${XNNPACK_AVX512F_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " /arch:AVX512 ") |
| 1710 | ELSE() |
| 1711 | SET_PROPERTY(SOURCE ${XNNPACK_PSIMD_ACCMATH_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -msse2 ") |
| 1712 | SET_PROPERTY(SOURCE ${XNNPACK_PSIMD_FASTMATH_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -msse2 ") |
| 1713 | SET_PROPERTY(SOURCE ${XNNPACK_SSE_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -msse ") |
| 1714 | SET_PROPERTY(SOURCE ${XNNPACK_SSE2_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -msse2 ") |
| 1715 | SET_PROPERTY(SOURCE ${XNNPACK_SSSE3_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -mssse3 ") |
| 1716 | SET_PROPERTY(SOURCE ${XNNPACK_SSE41_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -msse4.1 ") |
| 1717 | SET_PROPERTY(SOURCE ${XNNPACK_AVX_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -mavx ") |
| 1718 | SET_PROPERTY(SOURCE ${XNNPACK_FMA3_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -mfma ") |
| 1719 | SET_PROPERTY(SOURCE ${XNNPACK_AVX2_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -mfma -mavx2 ") |
| 1720 | SET_PROPERTY(SOURCE ${XNNPACK_AVX512F_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -mavx512f ") |
Marat Dukhan | 78583c7 | 2020-04-26 22:00:43 -0700 | [diff] [blame] | 1721 | IF(MINGW OR CMAKE_SYSTEM_NAME MATCHES "^(CYGWIN|MSYS)$") |
Marat Dukhan | 7795c3a | 2020-04-14 20:45:36 -0700 | [diff] [blame] | 1722 | # Work-around for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65782 |
| 1723 | SET_PROPERTY(SOURCE ${XNNPACK_AVX512F_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS " -fno-asynchronous-unwind-tables ") |
| 1724 | ENDIF() |
Yasuhiro Matsumoto | 081b77c | 2020-03-02 10:20:53 +0900 | [diff] [blame] | 1725 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1726 | ENDIF() |
Marat Dukhan | ef25e75 | 2020-04-13 02:45:37 -0700 | [diff] [blame] | 1727 | TARGET_COMPILE_DEFINITIONS(XNNPACK PRIVATE "XNN_LOG_LEVEL=$<IF:$<CONFIG:Debug>,5,0>") |
Marat Dukhan | 7795c3a | 2020-04-14 20:45:36 -0700 | [diff] [blame] | 1728 | IF(MSVC) |
Marat Dukhan | f196d01 | 2020-04-15 11:50:03 -0700 | [diff] [blame] | 1729 | # Even though MSVC has __restrict, it can't be used in all the same contexts as the C99 restrict keyword |
| 1730 | TARGET_COMPILE_DEFINITIONS(XNNPACK PRIVATE "restrict=") |
Marat Dukhan | 7795c3a | 2020-04-14 20:45:36 -0700 | [diff] [blame] | 1731 | SET_PROPERTY(SOURCE ${XNNPACK_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS "$<$<NOT:$<CONFIG:Debug>>: /O2 >") |
| 1732 | SET_PROPERTY(SOURCE ${XNNPACK_HOT_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS "$<$<NOT:$<CONFIG:Debug>>: /O2 >") |
| 1733 | SET_PROPERTY(SOURCE ${XNNPACK_COLD_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS "$<$<NOT:$<CONFIG:Debug>>: /O1 >") |
| 1734 | ELSE() |
| 1735 | SET_PROPERTY(SOURCE ${XNNPACK_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS "$<$<NOT:$<CONFIG:Debug>>: -O2 >") |
| 1736 | SET_PROPERTY(SOURCE ${XNNPACK_HOT_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS "$<$<NOT:$<CONFIG:Debug>>: -O2 >") |
| 1737 | SET_PROPERTY(SOURCE ${XNNPACK_COLD_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS "$<$<NOT:$<CONFIG:Debug>>: -Os >") |
| 1738 | ENDIF() |
Marat Dukhan | ef25e75 | 2020-04-13 02:45:37 -0700 | [diff] [blame] | 1739 | IF(NOT EMSCRIPTEN) |
| 1740 | SET_PROPERTY(SOURCE ${XNNPACK_PSIMD_ACCMATH_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS "$<$<NOT:$<CONFIG:Debug>>: -O3 >") |
| 1741 | SET_PROPERTY(SOURCE ${XNNPACK_PSIMD_FASTMATH_MICROKERNEL_SRCS} APPEND_STRING PROPERTY COMPILE_FLAGS "$<$<NOT:$<CONFIG:Debug>>: -O3 -ffast-math >") |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1742 | ENDIF() |
| 1743 | |
| 1744 | TARGET_INCLUDE_DIRECTORIES(XNNPACK PUBLIC include) |
| 1745 | TARGET_INCLUDE_DIRECTORIES(XNNPACK PRIVATE src) |
Marat Dukhan | 6ae741a | 2020-04-13 02:33:53 -0700 | [diff] [blame] | 1746 | IF(WIN32) |
| 1747 | # Target Windows 7+ API |
| 1748 | TARGET_COMPILE_DEFINITIONS(XNNPACK PRIVATE _WIN32_WINNT=0x0601) |
| 1749 | ENDIF() |
Ashkan Aliabadi | d255a31 | 2019-12-03 12:44:34 -0800 | [diff] [blame] | 1750 | SET_TARGET_PROPERTIES(XNNPACK PROPERTIES PUBLIC_HEADER include/xnnpack.h) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1751 | |
Marat Dukhan | 4313088 | 2020-03-12 22:33:07 -0700 | [diff] [blame] | 1752 | # ---[ Find libm |
| 1753 | FIND_LIBRARY(LIBM m) |
| 1754 | IF(LIBM) |
| 1755 | TARGET_LINK_LIBRARIES(XNNPACK PRIVATE ${LIBM}) |
| 1756 | ENDIF() |
| 1757 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1758 | # ---[ Configure clog |
| 1759 | IF(NOT TARGET clog) |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 1760 | IF(NOT XNNPACK_USE_SYSTEM_LIBS) |
| 1761 | SET(CLOG_BUILD_TESTS OFF CACHE BOOL "") |
| 1762 | SET(CLOG_RUNTIME_TYPE "${CPUINFO_RUNTIME_TYPE}" CACHE STRING "") |
| 1763 | ADD_SUBDIRECTORY( |
| 1764 | "${CLOG_SOURCE_DIR}/deps/clog" |
| 1765 | "${CMAKE_BINARY_DIR}/clog") |
| 1766 | # We build static version of clog but a dynamic library may indirectly depend on it |
| 1767 | SET_PROPERTY(TARGET clog PROPERTY POSITION_INDEPENDENT_CODE ON) |
| 1768 | ELSE() |
| 1769 | ADD_LIBRARY(clog STATIC IMPORTED) |
| 1770 | FIND_LIBRARY(CLOG_LIBRARY clog) |
| 1771 | IF(NOT CLOG_LIBRARY) |
| 1772 | MESSAGE(FATAL_ERROR "Cannot find clog") |
| 1773 | ENDIF() |
| 1774 | SET_PROPERTY(TARGET clog PROPERTY IMPORTED_LOCATION "${CLOG_LIBRARY}") |
| 1775 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1776 | ENDIF() |
| 1777 | TARGET_LINK_LIBRARIES(XNNPACK PRIVATE clog) |
| 1778 | |
| 1779 | # ---[ Configure cpuinfo |
| 1780 | IF(NOT TARGET cpuinfo) |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 1781 | IF(NOT XNNPACK_USE_SYSTEM_LIBS) |
| 1782 | SET(CPUINFO_BUILD_TOOLS OFF CACHE BOOL "") |
| 1783 | SET(CPUINFO_BUILD_UNIT_TESTS OFF CACHE BOOL "") |
| 1784 | SET(CPUINFO_BUILD_MOCK_TESTS OFF CACHE BOOL "") |
| 1785 | SET(CPUINFO_BUILD_BENCHMARKS OFF CACHE BOOL "") |
| 1786 | ADD_SUBDIRECTORY( |
| 1787 | "${CPUINFO_SOURCE_DIR}" |
| 1788 | "${CMAKE_BINARY_DIR}/cpuinfo") |
| 1789 | ELSE() |
| 1790 | ADD_LIBRARY(cpuinfo SHARED IMPORTED) |
| 1791 | FIND_LIBRARY(CPUINFO_LIBRARY cpuinfo) |
| 1792 | IF(NOT CPUINFO_LIBRARY) |
| 1793 | MESSAGE(FATAL_ERROR "Cannot find cpuinfo") |
| 1794 | ENDIF() |
| 1795 | SET_PROPERTY(TARGET cpuinfo PROPERTY IMPORTED_LOCATION "${CPUINFO_LIBRARY}") |
| 1796 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1797 | ENDIF() |
| 1798 | TARGET_LINK_LIBRARIES(XNNPACK PRIVATE cpuinfo) |
| 1799 | |
| 1800 | # ---[ Configure pthreadpool |
| 1801 | IF(NOT TARGET pthreadpool) |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 1802 | IF(NOT XNNPACK_USE_SYSTEM_LIBS) |
| 1803 | SET(PTHREADPOOL_BUILD_TESTS OFF CACHE BOOL "") |
| 1804 | SET(PTHREADPOOL_BUILD_BENCHMARKS OFF CACHE BOOL "") |
| 1805 | SET(PTHREADPOOL_ALLOW_DEPRECATED_API OFF CACHE BOOL "") |
| 1806 | ADD_SUBDIRECTORY( |
| 1807 | "${PTHREADPOOL_SOURCE_DIR}" |
| 1808 | "${CMAKE_BINARY_DIR}/pthreadpool") |
| 1809 | ELSE() |
| 1810 | ADD_LIBRARY(pthreadpool SHARED IMPORTED) |
| 1811 | FIND_LIBRARY(PTHREADPOOL_LIBRARY pthreadpool) |
| 1812 | IF(NOT PTHREADPOOL_LIBRARY) |
| 1813 | MESSAGE(FATAL_ERROR "Cannot find pthreadpool") |
| 1814 | ENDIF() |
| 1815 | SET_PROPERTY(TARGET pthreadpool PROPERTY IMPORTED_LOCATION "${PTHREADPOOL_LIBRARY}") |
| 1816 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1817 | ENDIF() |
| 1818 | TARGET_LINK_LIBRARIES(XNNPACK PUBLIC pthreadpool) |
| 1819 | |
| 1820 | # ---[ Configure FXdiv |
| 1821 | IF(NOT TARGET fxdiv) |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 1822 | IF(NOT XNNPACK_USE_SYSTEM_LIBS) |
| 1823 | SET(FXDIV_BUILD_TESTS OFF CACHE BOOL "") |
| 1824 | SET(FXDIV_BUILD_BENCHMARKS OFF CACHE BOOL "") |
| 1825 | ADD_SUBDIRECTORY( |
| 1826 | "${FXDIV_SOURCE_DIR}" |
| 1827 | "${CMAKE_BINARY_DIR}/FXdiv") |
| 1828 | ELSE() |
| 1829 | FIND_FILE(FXDIV_HDR fxdiv.h PATH_SUFFIXES include) |
| 1830 | IF(NOT FXDIV_HDR) |
| 1831 | MESSAGE(FATAL_ERROR "Cannot find fxdiv") |
| 1832 | ENDIF() |
| 1833 | ADD_LIBRARY(fxdiv STATIC "${FXDIV_HDR}") |
| 1834 | SET_PROPERTY(TARGET fxdiv PROPERTY LINKER_LANGUAGE C) |
| 1835 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1836 | ENDIF() |
| 1837 | TARGET_LINK_LIBRARIES(XNNPACK PRIVATE fxdiv) |
| 1838 | |
| 1839 | # ---[ Configure psimd |
| 1840 | IF(NOT TARGET psimd) |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 1841 | IF(NOT XNNPACK_USE_SYSTEM_LIBS) |
| 1842 | ADD_SUBDIRECTORY( |
| 1843 | "${PSIMD_SOURCE_DIR}" |
| 1844 | "${CMAKE_BINARY_DIR}/psimd") |
| 1845 | ELSE() |
| 1846 | FIND_FILE(PSIMD_HDR psimd.h PATH_SUFFIXES include) |
| 1847 | IF(NOT PSIMD_HDR) |
| 1848 | MESSAGE(FATAL_ERROR "Cannot find psimd") |
| 1849 | ENDIF() |
| 1850 | ADD_LIBRARY(psimd STATIC "${PSIMD_HDR}") |
| 1851 | SET_PROPERTY(TARGET psimd PROPERTY LINKER_LANGUAGE C) |
| 1852 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1853 | ENDIF() |
| 1854 | TARGET_LINK_LIBRARIES(XNNPACK PRIVATE psimd) |
| 1855 | |
| 1856 | # ---[ Configure FP16 |
| 1857 | IF(NOT TARGET fp16) |
Mo Zhou | 6cafcdb | 2020-04-26 10:41:41 +0800 | [diff] [blame] | 1858 | IF(NOT XNNPACK_USE_SYSTEM_LIBS) |
| 1859 | SET(FP16_BUILD_TESTS OFF CACHE BOOL "") |
| 1860 | SET(FP16_BUILD_BENCHMARKS OFF CACHE BOOL "") |
| 1861 | ADD_SUBDIRECTORY( |
| 1862 | "${FP16_SOURCE_DIR}" |
| 1863 | "${CMAKE_BINARY_DIR}/FP16") |
| 1864 | ELSE() |
| 1865 | FIND_FILE(FP16_HDR fp16.h PATH_SUFFIXES include) |
| 1866 | IF(NOT FP16_HDR) |
| 1867 | MESSAGE(FATAL_ERROR "Cannot find fp16") |
| 1868 | ENDIF() |
| 1869 | ADD_LIBRARY(fp16 STATIC "${FP16_HDR}") |
| 1870 | SET_PROPERTY(TARGET fp16 PROPERTY LINKER_LANGUAGE C) |
| 1871 | ENDIF() |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1872 | ENDIF() |
| 1873 | TARGET_LINK_LIBRARIES(XNNPACK PRIVATE fp16) |
| 1874 | |
| 1875 | INSTALL(TARGETS XNNPACK |
| 1876 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1877 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1878 | PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) |
| 1879 | |
| 1880 | # ---[ XNNPACK unit tests |
| 1881 | IF(XNNPACK_BUILD_TESTS) |
| 1882 | # ---[ Build google test |
| 1883 | IF(NOT TARGET gtest) |
| 1884 | SET(gtest_force_shared_crt ON CACHE BOOL "" FORCE) |
| 1885 | ADD_SUBDIRECTORY( |
| 1886 | "${GOOGLETEST_SOURCE_DIR}" |
| 1887 | "${CMAKE_BINARY_DIR}/googletest") |
| 1888 | ENDIF() |
| 1889 | |
Marat Dukhan | 20c3b92 | 2020-03-10 03:45:06 -0700 | [diff] [blame] | 1890 | # ---[ Build size tests |
| 1891 | |
Marat Dukhan | 4313088 | 2020-03-12 22:33:07 -0700 | [diff] [blame] | 1892 | ADD_EXECUTABLE(operator-size-test test/operator-size.c) |
Marat Dukhan | 20c3b92 | 2020-03-10 03:45:06 -0700 | [diff] [blame] | 1893 | SET_TARGET_PROPERTIES(operator-size-test PROPERTIES |
| 1894 | C_STANDARD 99 |
| 1895 | C_EXTENSIONS NO) |
| 1896 | TARGET_LINK_LIBRARIES(operator-size-test PRIVATE XNNPACK) |
| 1897 | |
Marat Dukhan | 4313088 | 2020-03-12 22:33:07 -0700 | [diff] [blame] | 1898 | ADD_EXECUTABLE(subgraph-size-test test/subgraph-size.c) |
Marat Dukhan | 20c3b92 | 2020-03-10 03:45:06 -0700 | [diff] [blame] | 1899 | SET_TARGET_PROPERTIES(subgraph-size-test PROPERTIES |
| 1900 | C_STANDARD 99 |
| 1901 | C_EXTENSIONS NO) |
| 1902 | TARGET_LINK_LIBRARIES(subgraph-size-test PRIVATE XNNPACK) |
| 1903 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1904 | # ---[ Build operator-level unit tests |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1905 | ADD_EXECUTABLE(add-nc-test test/add-nc.cc) |
| 1906 | SET_TARGET_PROPERTIES(add-nc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1907 | CXX_STANDARD 11 |
| 1908 | CXX_STANDARD_REQUIRED YES |
| 1909 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1910 | TARGET_INCLUDE_DIRECTORIES(add-nc-test PRIVATE src test) |
| 1911 | TARGET_LINK_LIBRARIES(add-nc-test PRIVATE XNNPACK gtest gtest_main) |
| 1912 | ADD_TEST(add-nc-test add-nc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1913 | |
Marat Dukhan | b1a0fc3 | 2019-12-02 19:32:02 -0800 | [diff] [blame] | 1914 | ADD_EXECUTABLE(add-nd-test test/add-nd.cc) |
| 1915 | SET_TARGET_PROPERTIES(add-nd-test PROPERTIES |
| 1916 | CXX_STANDARD 11 |
| 1917 | CXX_STANDARD_REQUIRED YES |
| 1918 | CXX_EXTENSIONS NO) |
| 1919 | TARGET_INCLUDE_DIRECTORIES(add-nd-test PRIVATE src test) |
| 1920 | TARGET_LINK_LIBRARIES(add-nd-test PRIVATE XNNPACK gtest gtest_main) |
| 1921 | ADD_TEST(add-nd-test add-nd-test) |
| 1922 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1923 | ADD_EXECUTABLE(argmax-pooling-nhwc-test test/argmax-pooling-nhwc.cc) |
| 1924 | SET_TARGET_PROPERTIES(argmax-pooling-nhwc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1925 | CXX_STANDARD 11 |
| 1926 | CXX_STANDARD_REQUIRED YES |
| 1927 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1928 | TARGET_INCLUDE_DIRECTORIES(argmax-pooling-nhwc-test PRIVATE src test) |
| 1929 | TARGET_LINK_LIBRARIES(argmax-pooling-nhwc-test PRIVATE XNNPACK gtest gtest_main) |
| 1930 | ADD_TEST(argmax-pooling-nhwc-test argmax-pooling-nhwc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1931 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1932 | ADD_EXECUTABLE(average-pooling-nhwc-test test/average-pooling-nhwc.cc) |
| 1933 | SET_TARGET_PROPERTIES(average-pooling-nhwc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1934 | CXX_STANDARD 11 |
| 1935 | CXX_STANDARD_REQUIRED YES |
| 1936 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1937 | TARGET_INCLUDE_DIRECTORIES(average-pooling-nhwc-test PRIVATE src test) |
| 1938 | TARGET_LINK_LIBRARIES(average-pooling-nhwc-test PRIVATE XNNPACK gtest gtest_main) |
| 1939 | ADD_TEST(average-pooling-nhwc-test average-pooling-nhwc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1940 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1941 | ADD_EXECUTABLE(channel-pad-nc-test test/channel-pad-nc.cc) |
| 1942 | SET_TARGET_PROPERTIES(channel-pad-nc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1943 | CXX_STANDARD 11 |
| 1944 | CXX_STANDARD_REQUIRED YES |
| 1945 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1946 | TARGET_INCLUDE_DIRECTORIES(channel-pad-nc-test PRIVATE src test) |
| 1947 | TARGET_LINK_LIBRARIES(channel-pad-nc-test PRIVATE XNNPACK gtest gtest_main) |
| 1948 | ADD_TEST(channel-pad-nc-test channel-pad-nc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1949 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1950 | ADD_EXECUTABLE(channel-shuffle-nc-test test/channel-shuffle-nc.cc) |
| 1951 | SET_TARGET_PROPERTIES(channel-shuffle-nc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1952 | CXX_STANDARD 11 |
| 1953 | CXX_STANDARD_REQUIRED YES |
| 1954 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1955 | TARGET_INCLUDE_DIRECTORIES(channel-shuffle-nc-test PRIVATE src test) |
| 1956 | TARGET_LINK_LIBRARIES(channel-shuffle-nc-test PRIVATE XNNPACK gtest gtest_main) |
| 1957 | ADD_TEST(channel-shuffle-nc-test channel-shuffle-nc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1958 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1959 | ADD_EXECUTABLE(clamp-nc-test test/clamp-nc.cc) |
| 1960 | SET_TARGET_PROPERTIES(clamp-nc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1961 | CXX_STANDARD 11 |
| 1962 | CXX_STANDARD_REQUIRED YES |
| 1963 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1964 | TARGET_INCLUDE_DIRECTORIES(clamp-nc-test PRIVATE src test) |
| 1965 | TARGET_LINK_LIBRARIES(clamp-nc-test PRIVATE XNNPACK gtest gtest_main) |
| 1966 | ADD_TEST(clamp-nc-test clamp-nc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1967 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1968 | ADD_EXECUTABLE(convolution-nhwc-test test/convolution-nhwc.cc) |
| 1969 | SET_TARGET_PROPERTIES(convolution-nhwc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1970 | CXX_STANDARD 11 |
| 1971 | CXX_STANDARD_REQUIRED YES |
| 1972 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1973 | TARGET_INCLUDE_DIRECTORIES(convolution-nhwc-test PRIVATE src test) |
| 1974 | TARGET_LINK_LIBRARIES(convolution-nhwc-test PRIVATE XNNPACK gtest gtest_main) |
| 1975 | ADD_TEST(convolution-nhwc-test convolution-nhwc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1976 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1977 | ADD_EXECUTABLE(convolution-nchw-test test/convolution-nchw.cc) |
| 1978 | SET_TARGET_PROPERTIES(convolution-nchw-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1979 | CXX_STANDARD 11 |
| 1980 | CXX_STANDARD_REQUIRED YES |
| 1981 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1982 | TARGET_INCLUDE_DIRECTORIES(convolution-nchw-test PRIVATE src test) |
| 1983 | TARGET_LINK_LIBRARIES(convolution-nchw-test PRIVATE XNNPACK gtest gtest_main) |
| 1984 | ADD_TEST(convolution-nchw-test convolution-nchw-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1985 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1986 | ADD_EXECUTABLE(deconvolution-nhwc-test test/deconvolution-nhwc.cc) |
| 1987 | SET_TARGET_PROPERTIES(deconvolution-nhwc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1988 | CXX_STANDARD 11 |
| 1989 | CXX_STANDARD_REQUIRED YES |
| 1990 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 1991 | TARGET_INCLUDE_DIRECTORIES(deconvolution-nhwc-test PRIVATE src test) |
| 1992 | TARGET_LINK_LIBRARIES(deconvolution-nhwc-test PRIVATE XNNPACK gtest gtest_main) |
| 1993 | ADD_TEST(deconvolution-nhwc-test deconvolution-nhwc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 1994 | |
Marat Dukhan | 6918050 | 2019-12-06 15:00:31 -0800 | [diff] [blame] | 1995 | ADD_EXECUTABLE(divide-nd-test test/divide-nd.cc) |
| 1996 | SET_TARGET_PROPERTIES(divide-nd-test PROPERTIES |
| 1997 | CXX_STANDARD 11 |
| 1998 | CXX_STANDARD_REQUIRED YES |
| 1999 | CXX_EXTENSIONS NO) |
| 2000 | TARGET_INCLUDE_DIRECTORIES(divide-nd-test PRIVATE src test) |
| 2001 | TARGET_LINK_LIBRARIES(divide-nd-test PRIVATE XNNPACK gtest gtest_main) |
| 2002 | ADD_TEST(divide-nd-test divide-nd-test) |
| 2003 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2004 | ADD_EXECUTABLE(fully-connected-nc-test test/fully-connected-nc.cc) |
| 2005 | SET_TARGET_PROPERTIES(fully-connected-nc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2006 | CXX_STANDARD 11 |
| 2007 | CXX_STANDARD_REQUIRED YES |
| 2008 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2009 | TARGET_INCLUDE_DIRECTORIES(fully-connected-nc-test PRIVATE src test) |
| 2010 | TARGET_LINK_LIBRARIES(fully-connected-nc-test PRIVATE XNNPACK gtest gtest_main) |
| 2011 | ADD_TEST(fully-connected-nc-test fully-connected-nc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2012 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2013 | ADD_EXECUTABLE(global-average-pooling-nwc-test test/global-average-pooling-nwc.cc) |
| 2014 | SET_TARGET_PROPERTIES(global-average-pooling-nwc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2015 | CXX_STANDARD 11 |
| 2016 | CXX_STANDARD_REQUIRED YES |
| 2017 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2018 | TARGET_INCLUDE_DIRECTORIES(global-average-pooling-nwc-test PRIVATE src test) |
| 2019 | TARGET_LINK_LIBRARIES(global-average-pooling-nwc-test PRIVATE XNNPACK gtest gtest_main) |
| 2020 | ADD_TEST(global-average-pooling-nwc-test global-average-pooling-nwc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2021 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2022 | ADD_EXECUTABLE(global-average-pooling-ncw-test test/global-average-pooling-ncw.cc) |
| 2023 | SET_TARGET_PROPERTIES(global-average-pooling-ncw-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2024 | CXX_STANDARD 11 |
| 2025 | CXX_STANDARD_REQUIRED YES |
| 2026 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2027 | TARGET_INCLUDE_DIRECTORIES(global-average-pooling-ncw-test PRIVATE src test) |
| 2028 | TARGET_LINK_LIBRARIES(global-average-pooling-ncw-test PRIVATE XNNPACK gtest gtest_main) |
| 2029 | ADD_TEST(global-average-pooling-ncw-test global-average-pooling-ncw-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2030 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2031 | ADD_EXECUTABLE(hardswish-nc-test test/hardswish-nc.cc) |
| 2032 | SET_TARGET_PROPERTIES(hardswish-nc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2033 | CXX_STANDARD 11 |
| 2034 | CXX_STANDARD_REQUIRED YES |
| 2035 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2036 | TARGET_INCLUDE_DIRECTORIES(hardswish-nc-test PRIVATE src test) |
| 2037 | TARGET_LINK_LIBRARIES(hardswish-nc-test PRIVATE XNNPACK gtest gtest_main) |
| 2038 | ADD_TEST(hardswish-nc-test hardswish-nc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2039 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2040 | ADD_EXECUTABLE(leaky-relu-nc-test test/leaky-relu-nc.cc) |
| 2041 | SET_TARGET_PROPERTIES(leaky-relu-nc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2042 | CXX_STANDARD 11 |
| 2043 | CXX_STANDARD_REQUIRED YES |
| 2044 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2045 | TARGET_INCLUDE_DIRECTORIES(leaky-relu-nc-test PRIVATE src test) |
| 2046 | TARGET_LINK_LIBRARIES(leaky-relu-nc-test PRIVATE XNNPACK gtest gtest_main) |
| 2047 | ADD_TEST(leaky-relu-nc-test leaky-relu-nc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2048 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2049 | ADD_EXECUTABLE(max-pooling-nhwc-test test/max-pooling-nhwc.cc) |
| 2050 | SET_TARGET_PROPERTIES(max-pooling-nhwc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2051 | CXX_STANDARD 11 |
| 2052 | CXX_STANDARD_REQUIRED YES |
| 2053 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2054 | TARGET_INCLUDE_DIRECTORIES(max-pooling-nhwc-test PRIVATE src test) |
| 2055 | TARGET_LINK_LIBRARIES(max-pooling-nhwc-test PRIVATE XNNPACK gtest gtest_main) |
| 2056 | ADD_TEST(max-pooling-nhwc-test max-pooling-nhwc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2057 | |
Marat Dukhan | 79e7f84 | 2019-12-05 14:35:50 -0800 | [diff] [blame] | 2058 | ADD_EXECUTABLE(maximum-nd-test test/multiply-nd.cc) |
| 2059 | SET_TARGET_PROPERTIES(maximum-nd-test PROPERTIES |
| 2060 | CXX_STANDARD 11 |
| 2061 | CXX_STANDARD_REQUIRED YES |
| 2062 | CXX_EXTENSIONS NO) |
| 2063 | TARGET_INCLUDE_DIRECTORIES(maximum-nd-test PRIVATE src test) |
| 2064 | TARGET_LINK_LIBRARIES(maximum-nd-test PRIVATE XNNPACK gtest gtest_main) |
| 2065 | ADD_TEST(maximum-nd-test maximum-nd-test) |
| 2066 | |
| 2067 | ADD_EXECUTABLE(minimum-nd-test test/multiply-nd.cc) |
| 2068 | SET_TARGET_PROPERTIES(minimum-nd-test PROPERTIES |
| 2069 | CXX_STANDARD 11 |
| 2070 | CXX_STANDARD_REQUIRED YES |
| 2071 | CXX_EXTENSIONS NO) |
| 2072 | TARGET_INCLUDE_DIRECTORIES(minimum-nd-test PRIVATE src test) |
| 2073 | TARGET_LINK_LIBRARIES(minimum-nd-test PRIVATE XNNPACK gtest gtest_main) |
| 2074 | ADD_TEST(minimum-nd-test minimum-nd-test) |
| 2075 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2076 | ADD_EXECUTABLE(multiply-nd-test test/multiply-nd.cc) |
| 2077 | SET_TARGET_PROPERTIES(multiply-nd-test PROPERTIES |
Marat Dukhan | 9d501d5 | 2019-11-16 02:30:50 -0800 | [diff] [blame] | 2078 | CXX_STANDARD 11 |
| 2079 | CXX_STANDARD_REQUIRED YES |
| 2080 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2081 | TARGET_INCLUDE_DIRECTORIES(multiply-nd-test PRIVATE src test) |
| 2082 | TARGET_LINK_LIBRARIES(multiply-nd-test PRIVATE XNNPACK gtest gtest_main) |
| 2083 | ADD_TEST(multiply-nd-test multiply-nd-test) |
Marat Dukhan | 9d501d5 | 2019-11-16 02:30:50 -0800 | [diff] [blame] | 2084 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2085 | ADD_EXECUTABLE(prelu-nc-test test/prelu-nc.cc) |
| 2086 | SET_TARGET_PROPERTIES(prelu-nc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2087 | CXX_STANDARD 11 |
| 2088 | CXX_STANDARD_REQUIRED YES |
| 2089 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2090 | TARGET_INCLUDE_DIRECTORIES(prelu-nc-test PRIVATE src test) |
| 2091 | TARGET_LINK_LIBRARIES(prelu-nc-test PRIVATE XNNPACK gtest gtest_main) |
| 2092 | ADD_TEST(prelu-nc-test prelu-nc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2093 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2094 | ADD_EXECUTABLE(resize-bilinear-nhwc-test test/resize-bilinear-nhwc.cc) |
| 2095 | SET_TARGET_PROPERTIES(resize-bilinear-nhwc-test PROPERTIES |
Marat Dukhan | 6972249 | 2019-11-11 19:55:50 -0800 | [diff] [blame] | 2096 | CXX_STANDARD 11 |
| 2097 | CXX_STANDARD_REQUIRED YES |
| 2098 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2099 | TARGET_INCLUDE_DIRECTORIES(resize-bilinear-nhwc-test PRIVATE src test) |
| 2100 | TARGET_LINK_LIBRARIES(resize-bilinear-nhwc-test PRIVATE XNNPACK gtest gtest_main) |
| 2101 | ADD_TEST(resize-bilinear-nhwc-test resize-bilinear-nhwc-test) |
Marat Dukhan | 6972249 | 2019-11-11 19:55:50 -0800 | [diff] [blame] | 2102 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2103 | ADD_EXECUTABLE(sigmoid-nc-test test/sigmoid-nc.cc) |
| 2104 | SET_TARGET_PROPERTIES(sigmoid-nc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2105 | CXX_STANDARD 11 |
| 2106 | CXX_STANDARD_REQUIRED YES |
| 2107 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2108 | TARGET_INCLUDE_DIRECTORIES(sigmoid-nc-test PRIVATE src test) |
| 2109 | TARGET_LINK_LIBRARIES(sigmoid-nc-test PRIVATE XNNPACK gtest gtest_main) |
| 2110 | ADD_TEST(sigmoid-nc-test sigmoid-nc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2111 | |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 2112 | ADD_EXECUTABLE(softmax-nc-test test/softmax-nc.cc) |
| 2113 | SET_TARGET_PROPERTIES(softmax-nc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2114 | CXX_STANDARD 11 |
| 2115 | CXX_STANDARD_REQUIRED YES |
| 2116 | CXX_EXTENSIONS NO) |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 2117 | TARGET_INCLUDE_DIRECTORIES(softmax-nc-test PRIVATE src test) |
| 2118 | TARGET_LINK_LIBRARIES(softmax-nc-test PRIVATE XNNPACK gtest gtest_main) |
| 2119 | ADD_TEST(softmax-nc-test softmax-nc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2120 | |
Marat Dukhan | 05f3f6d | 2019-12-03 15:13:53 -0800 | [diff] [blame] | 2121 | ADD_EXECUTABLE(subtract-nd-test test/subtract-nd.cc) |
| 2122 | SET_TARGET_PROPERTIES(subtract-nd-test PROPERTIES |
| 2123 | CXX_STANDARD 11 |
| 2124 | CXX_STANDARD_REQUIRED YES |
| 2125 | CXX_EXTENSIONS NO) |
| 2126 | TARGET_INCLUDE_DIRECTORIES(subtract-nd-test PRIVATE src test) |
| 2127 | TARGET_LINK_LIBRARIES(subtract-nd-test PRIVATE XNNPACK gtest gtest_main) |
| 2128 | ADD_TEST(subtract-nd-test subtract-nd-test) |
| 2129 | |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2130 | ADD_EXECUTABLE(unpooling-nhwc-test test/unpooling-nhwc.cc) |
| 2131 | SET_TARGET_PROPERTIES(unpooling-nhwc-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2132 | CXX_STANDARD 11 |
| 2133 | CXX_STANDARD_REQUIRED YES |
| 2134 | CXX_EXTENSIONS NO) |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 2135 | TARGET_INCLUDE_DIRECTORIES(unpooling-nhwc-test PRIVATE src test) |
| 2136 | TARGET_LINK_LIBRARIES(unpooling-nhwc-test PRIVATE XNNPACK gtest gtest_main) |
| 2137 | ADD_TEST(unpooling-nhwc-test unpooling-nhwc-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2138 | |
| 2139 | # ---[ Build microkernel-level unit tests |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 2140 | ADD_EXECUTABLE(f16-gemm-minmax-test test/f16-gemm-minmax.cc) |
| 2141 | SET_TARGET_PROPERTIES(f16-gemm-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2142 | CXX_STANDARD 11 |
| 2143 | CXX_STANDARD_REQUIRED YES |
| 2144 | CXX_EXTENSIONS YES) |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 2145 | TARGET_INCLUDE_DIRECTORIES(f16-gemm-minmax-test PRIVATE src test) |
| 2146 | TARGET_LINK_LIBRARIES(f16-gemm-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2147 | ADD_TEST(f16-gemm-minmax-test f16-gemm-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2148 | |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 2149 | ADD_EXECUTABLE(f16-spmm-minmax-test test/f16-spmm-minmax.cc) |
| 2150 | SET_TARGET_PROPERTIES(f16-spmm-minmax-test PROPERTIES |
| 2151 | CXX_STANDARD 11 |
| 2152 | CXX_STANDARD_REQUIRED YES |
| 2153 | CXX_EXTENSIONS YES) |
| 2154 | TARGET_INCLUDE_DIRECTORIES(f16-spmm-minmax-test PRIVATE src test) |
| 2155 | TARGET_LINK_LIBRARIES(f16-spmm-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2156 | ADD_TEST(f16-spmm-minmax-test f16-spmm-minmax-test) |
| 2157 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2158 | ADD_EXECUTABLE(f32-argmaxpool-test test/f32-argmaxpool.cc) |
| 2159 | SET_TARGET_PROPERTIES(f32-argmaxpool-test PROPERTIES |
| 2160 | CXX_STANDARD 11 |
| 2161 | CXX_STANDARD_REQUIRED YES |
| 2162 | CXX_EXTENSIONS YES) |
| 2163 | TARGET_INCLUDE_DIRECTORIES(f32-argmaxpool-test PRIVATE src test) |
| 2164 | TARGET_LINK_LIBRARIES(f32-argmaxpool-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2165 | ADD_TEST(f32-argmaxpool-test f32-argmaxpool-test) |
| 2166 | |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2167 | ADD_EXECUTABLE(f32-avgpool-minmax-test test/f32-avgpool-minmax.cc) |
| 2168 | SET_TARGET_PROPERTIES(f32-avgpool-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2169 | CXX_STANDARD 11 |
| 2170 | CXX_STANDARD_REQUIRED YES |
| 2171 | CXX_EXTENSIONS YES) |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2172 | TARGET_INCLUDE_DIRECTORIES(f32-avgpool-minmax-test PRIVATE src test) |
| 2173 | TARGET_LINK_LIBRARIES(f32-avgpool-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2174 | ADD_TEST(f32-avgpool-minmax-test f32-avgpool-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2175 | |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 2176 | ADD_EXECUTABLE(f16-clamp-test test/f16-clamp.cc) |
| 2177 | SET_TARGET_PROPERTIES(f16-clamp-test PROPERTIES |
| 2178 | CXX_STANDARD 11 |
| 2179 | CXX_STANDARD_REQUIRED YES |
| 2180 | CXX_EXTENSIONS YES) |
| 2181 | TARGET_INCLUDE_DIRECTORIES(f16-clamp-test PRIVATE src test) |
| 2182 | TARGET_LINK_LIBRARIES(f16-clamp-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2183 | ADD_TEST(f16-clamp-test f16-clamp-test) |
| 2184 | |
Marat Dukhan | 53873d0 | 2019-12-06 17:21:30 -0800 | [diff] [blame] | 2185 | ADD_EXECUTABLE(f32-clamp-test test/f32-clamp.cc) |
| 2186 | SET_TARGET_PROPERTIES(f32-clamp-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2187 | CXX_STANDARD 11 |
| 2188 | CXX_STANDARD_REQUIRED YES |
| 2189 | CXX_EXTENSIONS YES) |
Marat Dukhan | 53873d0 | 2019-12-06 17:21:30 -0800 | [diff] [blame] | 2190 | TARGET_INCLUDE_DIRECTORIES(f32-clamp-test PRIVATE src test) |
| 2191 | TARGET_LINK_LIBRARIES(f32-clamp-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2192 | ADD_TEST(f32-clamp-test f32-clamp-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2193 | |
| 2194 | ADD_EXECUTABLE(f32-conv-hwc-test test/f32-conv-hwc.cc) |
| 2195 | SET_TARGET_PROPERTIES(f32-conv-hwc-test PROPERTIES |
| 2196 | CXX_STANDARD 11 |
| 2197 | CXX_STANDARD_REQUIRED YES |
| 2198 | CXX_EXTENSIONS YES) |
| 2199 | TARGET_INCLUDE_DIRECTORIES(f32-conv-hwc-test PRIVATE src test) |
| 2200 | TARGET_LINK_LIBRARIES(f32-conv-hwc-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2201 | ADD_TEST(f32-conv-hwc-test f32-conv-hwc-test) |
| 2202 | |
| 2203 | ADD_EXECUTABLE(f32-conv-hwc2spchw-test test/f32-conv-hwc2spchw.cc) |
| 2204 | SET_TARGET_PROPERTIES(f32-conv-hwc2spchw-test PROPERTIES |
| 2205 | CXX_STANDARD 11 |
| 2206 | CXX_STANDARD_REQUIRED YES |
| 2207 | CXX_EXTENSIONS YES) |
| 2208 | TARGET_INCLUDE_DIRECTORIES(f32-conv-hwc2spchw-test PRIVATE src test) |
| 2209 | TARGET_LINK_LIBRARIES(f32-conv-hwc2spchw-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2210 | ADD_TEST(f32-conv-hwc2spchw-test f32-conv-hwc2spchw-test) |
| 2211 | |
| 2212 | ADD_EXECUTABLE(f32-dwconv-spchw-test test/f32-dwconv-spchw.cc) |
| 2213 | SET_TARGET_PROPERTIES(f32-dwconv-spchw-test PROPERTIES |
| 2214 | CXX_STANDARD 11 |
| 2215 | CXX_STANDARD_REQUIRED YES |
| 2216 | CXX_EXTENSIONS YES) |
| 2217 | TARGET_INCLUDE_DIRECTORIES(f32-dwconv-spchw-test PRIVATE src test) |
| 2218 | TARGET_LINK_LIBRARIES(f32-dwconv-spchw-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2219 | ADD_TEST(f32-dwconv-spchw-test f32-dwconv-spchw-test) |
| 2220 | |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 2221 | ADD_EXECUTABLE(f32-dwconv-test test/f32-dwconv.cc) |
| 2222 | SET_TARGET_PROPERTIES(f32-dwconv-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2223 | CXX_STANDARD 11 |
| 2224 | CXX_STANDARD_REQUIRED YES |
| 2225 | CXX_EXTENSIONS YES) |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 2226 | TARGET_INCLUDE_DIRECTORIES(f32-dwconv-test PRIVATE src test) |
| 2227 | TARGET_LINK_LIBRARIES(f32-dwconv-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2228 | ADD_TEST(f32-dwconv-test f32-dwconv-test) |
| 2229 | |
| 2230 | ADD_EXECUTABLE(f32-dwconv-minmax-test test/f32-dwconv-minmax.cc) |
| 2231 | SET_TARGET_PROPERTIES(f32-dwconv-minmax-test PROPERTIES |
| 2232 | CXX_STANDARD 11 |
| 2233 | CXX_STANDARD_REQUIRED YES |
| 2234 | CXX_EXTENSIONS YES) |
| 2235 | TARGET_INCLUDE_DIRECTORIES(f32-dwconv-minmax-test PRIVATE src test) |
| 2236 | TARGET_LINK_LIBRARIES(f32-dwconv-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2237 | ADD_TEST(f32-dwconv-minmax-test f32-dwconv-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2238 | |
| 2239 | ADD_EXECUTABLE(f32-gavgpool-spchw-test test/f32-gavgpool-spchw.cc) |
| 2240 | SET_TARGET_PROPERTIES(f32-gavgpool-spchw-test PROPERTIES |
| 2241 | CXX_STANDARD 11 |
| 2242 | CXX_STANDARD_REQUIRED YES |
| 2243 | CXX_EXTENSIONS YES) |
| 2244 | TARGET_INCLUDE_DIRECTORIES(f32-gavgpool-spchw-test PRIVATE src test) |
| 2245 | TARGET_LINK_LIBRARIES(f32-gavgpool-spchw-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2246 | ADD_TEST(f32-gavgpool-spchw-test f32-gavgpool-spchw-test) |
| 2247 | |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2248 | ADD_EXECUTABLE(f32-gavgpool-minmax-test test/f32-gavgpool-minmax.cc) |
| 2249 | SET_TARGET_PROPERTIES(f32-gavgpool-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2250 | CXX_STANDARD 11 |
| 2251 | CXX_STANDARD_REQUIRED YES |
| 2252 | CXX_EXTENSIONS YES) |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2253 | TARGET_INCLUDE_DIRECTORIES(f32-gavgpool-minmax-test PRIVATE src test) |
| 2254 | TARGET_LINK_LIBRARIES(f32-gavgpool-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2255 | ADD_TEST(f32-gavgpool-minmax-test f32-gavgpool-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2256 | |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 2257 | ADD_EXECUTABLE(f32-gemm-test test/f32-gemm.cc) |
| 2258 | SET_TARGET_PROPERTIES(f32-gemm-test PROPERTIES |
| 2259 | CXX_STANDARD 11 |
| 2260 | CXX_STANDARD_REQUIRED YES |
| 2261 | CXX_EXTENSIONS YES) |
| 2262 | TARGET_INCLUDE_DIRECTORIES(f32-gemm-test PRIVATE src test) |
| 2263 | TARGET_LINK_LIBRARIES(f32-gemm-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2264 | ADD_TEST(f32-gemm-test f32-gemm-test) |
| 2265 | |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2266 | ADD_EXECUTABLE(f32-gemm-minmax-test test/f32-gemm-minmax.cc) |
| 2267 | SET_TARGET_PROPERTIES(f32-gemm-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2268 | CXX_STANDARD 11 |
| 2269 | CXX_STANDARD_REQUIRED YES |
| 2270 | CXX_EXTENSIONS YES) |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2271 | TARGET_INCLUDE_DIRECTORIES(f32-gemm-minmax-test PRIVATE src test) |
| 2272 | TARGET_LINK_LIBRARIES(f32-gemm-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2273 | ADD_TEST(f32-gemm-minmax-test f32-gemm-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2274 | |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2275 | ADD_EXECUTABLE(f32-gemminc-minmax-test test/f32-gemminc-minmax.cc) |
| 2276 | SET_TARGET_PROPERTIES(f32-gemminc-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2277 | CXX_STANDARD 11 |
| 2278 | CXX_STANDARD_REQUIRED YES |
| 2279 | CXX_EXTENSIONS YES) |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2280 | TARGET_INCLUDE_DIRECTORIES(f32-gemminc-minmax-test PRIVATE src test) |
| 2281 | TARGET_LINK_LIBRARIES(f32-gemminc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2282 | ADD_TEST(f32-gemminc-minmax-test f32-gemminc-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2283 | |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 2284 | ADD_EXECUTABLE(f16-hswish-test test/f16-hswish.cc) |
| 2285 | SET_TARGET_PROPERTIES(f16-hswish-test PROPERTIES |
| 2286 | CXX_STANDARD 11 |
| 2287 | CXX_STANDARD_REQUIRED YES |
| 2288 | CXX_EXTENSIONS YES) |
| 2289 | TARGET_INCLUDE_DIRECTORIES(f16-hswish-test PRIVATE src test) |
| 2290 | TARGET_LINK_LIBRARIES(f16-hswish-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2291 | ADD_TEST(f16-hswish-test f16-hswish-test) |
| 2292 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2293 | ADD_EXECUTABLE(f32-hswish-test test/f32-hswish.cc) |
| 2294 | SET_TARGET_PROPERTIES(f32-hswish-test PROPERTIES |
| 2295 | CXX_STANDARD 11 |
| 2296 | CXX_STANDARD_REQUIRED YES |
| 2297 | CXX_EXTENSIONS YES) |
| 2298 | TARGET_INCLUDE_DIRECTORIES(f32-hswish-test PRIVATE src test) |
| 2299 | TARGET_LINK_LIBRARIES(f32-hswish-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2300 | ADD_TEST(f32-hswish-test f32-hswish-test) |
| 2301 | |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 2302 | ADD_EXECUTABLE(f32-ibilinear-test test/f32-ibilinear.cc) |
| 2303 | SET_TARGET_PROPERTIES(f32-ibilinear-test PROPERTIES |
| 2304 | CXX_STANDARD 11 |
| 2305 | CXX_STANDARD_REQUIRED YES |
| 2306 | CXX_EXTENSIONS YES) |
| 2307 | TARGET_INCLUDE_DIRECTORIES(f32-ibilinear-test PRIVATE src test) |
| 2308 | TARGET_LINK_LIBRARIES(f32-ibilinear-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2309 | ADD_TEST(f32-ibilinear-test f32-ibilinear-test) |
| 2310 | |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 2311 | ADD_EXECUTABLE(f32-igemm-test test/f32-igemm.cc) |
| 2312 | SET_TARGET_PROPERTIES(f32-igemm-test PROPERTIES |
| 2313 | CXX_STANDARD 11 |
| 2314 | CXX_STANDARD_REQUIRED YES |
| 2315 | CXX_EXTENSIONS YES) |
| 2316 | TARGET_INCLUDE_DIRECTORIES(f32-igemm-test PRIVATE src test) |
| 2317 | TARGET_LINK_LIBRARIES(f32-igemm-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2318 | ADD_TEST(f32-igemm-test f32-igemm-test) |
| 2319 | |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2320 | ADD_EXECUTABLE(f32-igemm-minmax-test test/f32-igemm-minmax.cc) |
| 2321 | SET_TARGET_PROPERTIES(f32-igemm-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2322 | CXX_STANDARD 11 |
| 2323 | CXX_STANDARD_REQUIRED YES |
| 2324 | CXX_EXTENSIONS YES) |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2325 | TARGET_INCLUDE_DIRECTORIES(f32-igemm-minmax-test PRIVATE src test) |
Marat Dukhan | 3fd4b29 | 2020-04-13 10:29:32 -0700 | [diff] [blame] | 2326 | IF(MINGW) |
| 2327 | # Work-around for "too many sections" error |
| 2328 | TARGET_COMPILE_OPTIONS(f32-igemm-minmax-test PRIVATE "$<$<NOT:$<OR:$<CONFIG:Release>,$<CONFIG:MinSizeRel>>>:-Wa,-mbig-obj>") |
| 2329 | ENDIF() |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2330 | TARGET_LINK_LIBRARIES(f32-igemm-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2331 | ADD_TEST(f32-igemm-minmax-test f32-igemm-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2332 | |
Frank Barchard | b0e4fae | 2020-05-04 15:27:51 -0700 | [diff] [blame] | 2333 | ADD_EXECUTABLE(f16-igemm-minmax-test test/f16-igemm-minmax.cc) |
| 2334 | SET_TARGET_PROPERTIES(f16-igemm-minmax-test PROPERTIES |
| 2335 | CXX_STANDARD 11 |
| 2336 | CXX_STANDARD_REQUIRED YES |
| 2337 | CXX_EXTENSIONS YES) |
| 2338 | TARGET_INCLUDE_DIRECTORIES(f16-igemm-minmax-test PRIVATE src test) |
| 2339 | TARGET_LINK_LIBRARIES(f16-igemm-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2340 | ADD_TEST(f16-igemm-minmax-test f16-igemm-minmax-test) |
| 2341 | |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2342 | ADD_EXECUTABLE(f32-maxpool-minmax-test test/f32-maxpool-minmax.cc) |
| 2343 | SET_TARGET_PROPERTIES(f32-maxpool-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2344 | CXX_STANDARD 11 |
| 2345 | CXX_STANDARD_REQUIRED YES |
| 2346 | CXX_EXTENSIONS YES) |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2347 | TARGET_INCLUDE_DIRECTORIES(f32-maxpool-minmax-test PRIVATE src test) |
| 2348 | TARGET_LINK_LIBRARIES(f32-maxpool-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2349 | ADD_TEST(f32-maxpool-minmax-test f32-maxpool-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2350 | |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2351 | ADD_EXECUTABLE(f32-pavgpool-minmax-test test/f32-pavgpool-minmax.cc) |
| 2352 | SET_TARGET_PROPERTIES(f32-pavgpool-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2353 | CXX_STANDARD 11 |
| 2354 | CXX_STANDARD_REQUIRED YES |
| 2355 | CXX_EXTENSIONS YES) |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2356 | TARGET_INCLUDE_DIRECTORIES(f32-pavgpool-minmax-test PRIVATE src test) |
| 2357 | TARGET_LINK_LIBRARIES(f32-pavgpool-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2358 | ADD_TEST(f32-pavgpool-minmax-test f32-pavgpool-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2359 | |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2360 | ADD_EXECUTABLE(f32-ppmm-minmax-test test/f32-ppmm-minmax.cc) |
| 2361 | SET_TARGET_PROPERTIES(f32-ppmm-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2362 | CXX_STANDARD 11 |
| 2363 | CXX_STANDARD_REQUIRED YES |
| 2364 | CXX_EXTENSIONS YES) |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2365 | TARGET_INCLUDE_DIRECTORIES(f32-ppmm-minmax-test PRIVATE src test) |
| 2366 | TARGET_LINK_LIBRARIES(f32-ppmm-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2367 | ADD_TEST(f32-ppmm-minmax-test f32-ppmm-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2368 | |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 2369 | ADD_EXECUTABLE(f16-prelu-test test/f16-prelu.cc) |
| 2370 | SET_TARGET_PROPERTIES(f16-prelu-test PROPERTIES |
| 2371 | CXX_STANDARD 11 |
| 2372 | CXX_STANDARD_REQUIRED YES |
| 2373 | CXX_EXTENSIONS YES) |
| 2374 | TARGET_INCLUDE_DIRECTORIES(f16-prelu-test PRIVATE src test) |
| 2375 | TARGET_LINK_LIBRARIES(f16-prelu-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2376 | ADD_TEST(f16-prelu-test f16-prelu-test) |
| 2377 | |
Marat Dukhan | 53873d0 | 2019-12-06 17:21:30 -0800 | [diff] [blame] | 2378 | ADD_EXECUTABLE(f32-prelu-test test/f32-prelu.cc) |
| 2379 | SET_TARGET_PROPERTIES(f32-prelu-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2380 | CXX_STANDARD 11 |
| 2381 | CXX_STANDARD_REQUIRED YES |
| 2382 | CXX_EXTENSIONS YES) |
Marat Dukhan | 53873d0 | 2019-12-06 17:21:30 -0800 | [diff] [blame] | 2383 | TARGET_INCLUDE_DIRECTORIES(f32-prelu-test PRIVATE src test) |
| 2384 | TARGET_LINK_LIBRARIES(f32-prelu-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2385 | ADD_TEST(f32-prelu-test f32-prelu-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2386 | |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 2387 | ADD_EXECUTABLE(f32-raddexpminusmax-test test/f32-raddexpminusmax.cc) |
| 2388 | SET_TARGET_PROPERTIES(f32-raddexpminusmax-test PROPERTIES |
| 2389 | CXX_STANDARD 11 |
| 2390 | CXX_STANDARD_REQUIRED YES |
| 2391 | CXX_EXTENSIONS YES) |
| 2392 | TARGET_INCLUDE_DIRECTORIES(f32-raddexpminusmax-test PRIVATE src test) |
| 2393 | TARGET_LINK_LIBRARIES(f32-raddexpminusmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2394 | ADD_TEST(f32-raddexpminusmax-test f32-raddexpminusmax-test) |
| 2395 | |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 2396 | ADD_EXECUTABLE(f32-raddextexp-test test/f32-raddextexp.cc) |
| 2397 | SET_TARGET_PROPERTIES(f32-raddextexp-test PROPERTIES |
| 2398 | CXX_STANDARD 11 |
| 2399 | CXX_STANDARD_REQUIRED YES |
| 2400 | CXX_EXTENSIONS YES) |
| 2401 | TARGET_INCLUDE_DIRECTORIES(f32-raddextexp-test PRIVATE src test) |
Marat Dukhan | a5977df | 2019-10-30 22:02:15 -0700 | [diff] [blame] | 2402 | TARGET_LINK_LIBRARIES(f32-raddextexp-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 2403 | ADD_TEST(f32-raddextexp-test f32-raddextexp-test) |
| 2404 | |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 2405 | ADD_EXECUTABLE(f32-raddstoreexpminusmax-test test/f32-raddstoreexpminusmax.cc) |
| 2406 | SET_TARGET_PROPERTIES(f32-raddstoreexpminusmax-test PROPERTIES |
| 2407 | CXX_STANDARD 11 |
| 2408 | CXX_STANDARD_REQUIRED YES |
| 2409 | CXX_EXTENSIONS YES) |
| 2410 | TARGET_INCLUDE_DIRECTORIES(f32-raddstoreexpminusmax-test PRIVATE src test) |
| 2411 | TARGET_LINK_LIBRARIES(f32-raddstoreexpminusmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2412 | ADD_TEST(f32-raddstoreexpminusmax-test f32-raddstoreexpminusmax-test) |
| 2413 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2414 | ADD_EXECUTABLE(f32-rmax-test test/f32-rmax.cc) |
| 2415 | SET_TARGET_PROPERTIES(f32-rmax-test PROPERTIES |
| 2416 | CXX_STANDARD 11 |
| 2417 | CXX_STANDARD_REQUIRED YES |
| 2418 | CXX_EXTENSIONS YES) |
| 2419 | TARGET_INCLUDE_DIRECTORIES(f32-rmax-test PRIVATE src test) |
| 2420 | TARGET_LINK_LIBRARIES(f32-rmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2421 | ADD_TEST(f32-rmax-test f32-rmax-test) |
| 2422 | |
Marat Dukhan | 581c1ac | 2019-11-18 14:57:54 -0800 | [diff] [blame] | 2423 | ADD_EXECUTABLE(f32-sigmoid-test test/f32-sigmoid.cc) |
| 2424 | SET_TARGET_PROPERTIES(f32-sigmoid-test PROPERTIES |
| 2425 | CXX_STANDARD 11 |
| 2426 | CXX_STANDARD_REQUIRED YES |
| 2427 | CXX_EXTENSIONS YES) |
| 2428 | TARGET_INCLUDE_DIRECTORIES(f32-sigmoid-test PRIVATE src test) |
| 2429 | TARGET_LINK_LIBRARIES(f32-sigmoid-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2430 | ADD_TEST(f32-sigmoid-test f32-sigmoid-test) |
| 2431 | |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 2432 | ADD_EXECUTABLE(f32-spmm-minmax-test test/f32-spmm-minmax.cc) |
| 2433 | SET_TARGET_PROPERTIES(f32-spmm-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2434 | CXX_STANDARD 11 |
| 2435 | CXX_STANDARD_REQUIRED YES |
| 2436 | CXX_EXTENSIONS YES) |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 2437 | TARGET_INCLUDE_DIRECTORIES(f32-spmm-minmax-test PRIVATE src test) |
| 2438 | TARGET_LINK_LIBRARIES(f32-spmm-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2439 | ADD_TEST(f32-spmm-minmax-test f32-spmm-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2440 | |
Frank Barchard | d793f6c | 2020-05-08 13:37:43 -0700 | [diff] [blame] | 2441 | ADD_EXECUTABLE(f16-vadd-minmax-test test/f16-vadd-minmax.cc) |
| 2442 | SET_TARGET_PROPERTIES(f16-vadd-minmax-test PROPERTIES |
| 2443 | CXX_STANDARD 11 |
| 2444 | CXX_STANDARD_REQUIRED YES |
| 2445 | CXX_EXTENSIONS YES) |
| 2446 | TARGET_INCLUDE_DIRECTORIES(f16-vadd-minmax-test PRIVATE src test) |
| 2447 | TARGET_LINK_LIBRARIES(f16-vadd-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2448 | ADD_TEST(f16-vadd-minmax-test f16-vadd-minmax-test) |
| 2449 | |
| 2450 | ADD_EXECUTABLE(f16-vaddc-minmax-test test/f16-vaddc-minmax.cc) |
| 2451 | SET_TARGET_PROPERTIES(f16-vaddc-minmax-test PROPERTIES |
| 2452 | CXX_STANDARD 11 |
| 2453 | CXX_STANDARD_REQUIRED YES |
| 2454 | CXX_EXTENSIONS YES) |
| 2455 | TARGET_INCLUDE_DIRECTORIES(f16-vaddc-minmax-test PRIVATE src test) |
| 2456 | TARGET_LINK_LIBRARIES(f16-vaddc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2457 | ADD_TEST(f16-vaddc-minmax-test f16-vaddc-minmax-test) |
| 2458 | |
| 2459 | ADD_EXECUTABLE(f16-vdiv-minmax-test test/f16-vdiv-minmax.cc) |
| 2460 | SET_TARGET_PROPERTIES(f16-vdiv-minmax-test PROPERTIES |
| 2461 | CXX_STANDARD 11 |
| 2462 | CXX_STANDARD_REQUIRED YES |
| 2463 | CXX_EXTENSIONS YES) |
| 2464 | TARGET_INCLUDE_DIRECTORIES(f16-vdiv-minmax-test PRIVATE src test) |
| 2465 | TARGET_LINK_LIBRARIES(f16-vdiv-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2466 | ADD_TEST(f16-vdiv-minmax-test f16-vdiv-minmax-test) |
| 2467 | |
| 2468 | ADD_EXECUTABLE(f16-vdivc-minmax-test test/f16-vdivc-minmax.cc) |
| 2469 | SET_TARGET_PROPERTIES(f16-vdivc-minmax-test PROPERTIES |
| 2470 | CXX_STANDARD 11 |
| 2471 | CXX_STANDARD_REQUIRED YES |
| 2472 | CXX_EXTENSIONS YES) |
| 2473 | TARGET_INCLUDE_DIRECTORIES(f16-vdivc-minmax-test PRIVATE src test) |
| 2474 | TARGET_LINK_LIBRARIES(f16-vdivc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2475 | ADD_TEST(f16-vdivc-minmax-test f16-vdivc-minmax-test) |
| 2476 | |
| 2477 | ADD_EXECUTABLE(f16-vrdivc-minmax-test test/f16-vrdivc-minmax.cc) |
| 2478 | SET_TARGET_PROPERTIES(f16-vrdivc-minmax-test PROPERTIES |
| 2479 | CXX_STANDARD 11 |
| 2480 | CXX_STANDARD_REQUIRED YES |
| 2481 | CXX_EXTENSIONS YES) |
| 2482 | TARGET_INCLUDE_DIRECTORIES(f16-vrdivc-minmax-test PRIVATE src test) |
| 2483 | TARGET_LINK_LIBRARIES(f16-vrdivc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2484 | ADD_TEST(f16-vrdivc-minmax-test f16-vrdivc-minmax-test) |
| 2485 | |
| 2486 | ADD_EXECUTABLE(f16-vmax-test test/f16-vmax.cc) |
| 2487 | SET_TARGET_PROPERTIES(f16-vmax-test PROPERTIES |
| 2488 | CXX_STANDARD 11 |
| 2489 | CXX_STANDARD_REQUIRED YES |
| 2490 | CXX_EXTENSIONS YES) |
| 2491 | TARGET_INCLUDE_DIRECTORIES(f16-vmax-test PRIVATE src test) |
| 2492 | TARGET_LINK_LIBRARIES(f16-vmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2493 | ADD_TEST(f16-vmax-test f16-vmax-test) |
| 2494 | |
| 2495 | ADD_EXECUTABLE(f16-vmaxc-test test/f16-vmaxc.cc) |
| 2496 | SET_TARGET_PROPERTIES(f16-vmaxc-test PROPERTIES |
| 2497 | CXX_STANDARD 11 |
| 2498 | CXX_STANDARD_REQUIRED YES |
| 2499 | CXX_EXTENSIONS YES) |
| 2500 | TARGET_INCLUDE_DIRECTORIES(f16-vmaxc-test PRIVATE src test) |
| 2501 | TARGET_LINK_LIBRARIES(f16-vmaxc-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2502 | ADD_TEST(f16-vmaxc-test f16-vmaxc-test) |
| 2503 | |
| 2504 | ADD_EXECUTABLE(f16-vmin-test test/f16-vmin.cc) |
| 2505 | SET_TARGET_PROPERTIES(f16-vmin-test PROPERTIES |
| 2506 | CXX_STANDARD 11 |
| 2507 | CXX_STANDARD_REQUIRED YES |
| 2508 | CXX_EXTENSIONS YES) |
| 2509 | TARGET_INCLUDE_DIRECTORIES(f16-vmin-test PRIVATE src test) |
| 2510 | TARGET_LINK_LIBRARIES(f16-vmin-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2511 | ADD_TEST(f16-vmin-test f16-vmin-test) |
| 2512 | |
| 2513 | ADD_EXECUTABLE(f16-vminc-test test/f16-vminc.cc) |
| 2514 | SET_TARGET_PROPERTIES(f16-vminc-test PROPERTIES |
| 2515 | CXX_STANDARD 11 |
| 2516 | CXX_STANDARD_REQUIRED YES |
| 2517 | CXX_EXTENSIONS YES) |
| 2518 | TARGET_INCLUDE_DIRECTORIES(f16-vminc-test PRIVATE src test) |
| 2519 | TARGET_LINK_LIBRARIES(f16-vminc-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2520 | ADD_TEST(f16-vminc-test f16-vminc-test) |
| 2521 | |
| 2522 | ADD_EXECUTABLE(f16-vmul-minmax-test test/f16-vmul-minmax.cc) |
| 2523 | SET_TARGET_PROPERTIES(f16-vmul-minmax-test PROPERTIES |
| 2524 | CXX_STANDARD 11 |
| 2525 | CXX_STANDARD_REQUIRED YES |
| 2526 | CXX_EXTENSIONS YES) |
| 2527 | TARGET_INCLUDE_DIRECTORIES(f16-vmul-minmax-test PRIVATE src test) |
| 2528 | TARGET_LINK_LIBRARIES(f16-vmul-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2529 | ADD_TEST(f16-vmul-minmax-test f16-vmul-minmax-test) |
| 2530 | |
| 2531 | ADD_EXECUTABLE(f16-vmulc-minmax-test test/f16-vmulc-minmax.cc) |
| 2532 | SET_TARGET_PROPERTIES(f16-vmulc-minmax-test PROPERTIES |
| 2533 | CXX_STANDARD 11 |
| 2534 | CXX_STANDARD_REQUIRED YES |
| 2535 | CXX_EXTENSIONS YES) |
| 2536 | TARGET_INCLUDE_DIRECTORIES(f16-vmulc-minmax-test PRIVATE src test) |
| 2537 | TARGET_LINK_LIBRARIES(f16-vmulc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2538 | ADD_TEST(f16-vmulc-minmax-test f16-vmulc-minmax-test) |
| 2539 | |
| 2540 | ADD_EXECUTABLE(f16-vsub-minmax-test test/f16-vsub-minmax.cc) |
| 2541 | SET_TARGET_PROPERTIES(f16-vsub-minmax-test PROPERTIES |
| 2542 | CXX_STANDARD 11 |
| 2543 | CXX_STANDARD_REQUIRED YES |
| 2544 | CXX_EXTENSIONS YES) |
| 2545 | TARGET_INCLUDE_DIRECTORIES(f16-vsub-minmax-test PRIVATE src test) |
| 2546 | TARGET_LINK_LIBRARIES(f16-vsub-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2547 | ADD_TEST(f16-vsub-minmax-test f16-vsub-minmax-test) |
| 2548 | |
| 2549 | ADD_EXECUTABLE(f16-vsubc-minmax-test test/f16-vsubc-minmax.cc) |
| 2550 | SET_TARGET_PROPERTIES(f16-vsubc-minmax-test PROPERTIES |
| 2551 | CXX_STANDARD 11 |
| 2552 | CXX_STANDARD_REQUIRED YES |
| 2553 | CXX_EXTENSIONS YES) |
| 2554 | TARGET_INCLUDE_DIRECTORIES(f16-vsubc-minmax-test PRIVATE src test) |
| 2555 | TARGET_LINK_LIBRARIES(f16-vsubc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2556 | ADD_TEST(f16-vsubc-minmax-test f16-vsubc-minmax-test) |
| 2557 | |
| 2558 | ADD_EXECUTABLE(f16-vrsubc-minmax-test test/f16-vrsubc-minmax.cc) |
| 2559 | SET_TARGET_PROPERTIES(f16-vrsubc-minmax-test PROPERTIES |
| 2560 | CXX_STANDARD 11 |
| 2561 | CXX_STANDARD_REQUIRED YES |
| 2562 | CXX_EXTENSIONS YES) |
| 2563 | TARGET_INCLUDE_DIRECTORIES(f16-vrsubc-minmax-test PRIVATE src test) |
| 2564 | TARGET_LINK_LIBRARIES(f16-vrsubc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2565 | ADD_TEST(f16-vrsubc-minmax-test f16-vrsubc-minmax-test) |
| 2566 | |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2567 | ADD_EXECUTABLE(f32-vadd-minmax-test test/f32-vadd-minmax.cc) |
| 2568 | SET_TARGET_PROPERTIES(f32-vadd-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2569 | CXX_STANDARD 11 |
| 2570 | CXX_STANDARD_REQUIRED YES |
| 2571 | CXX_EXTENSIONS YES) |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2572 | TARGET_INCLUDE_DIRECTORIES(f32-vadd-minmax-test PRIVATE src test) |
| 2573 | TARGET_LINK_LIBRARIES(f32-vadd-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2574 | ADD_TEST(f32-vadd-minmax-test f32-vadd-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2575 | |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2576 | ADD_EXECUTABLE(f32-vaddc-minmax-test test/f32-vaddc-minmax.cc) |
| 2577 | SET_TARGET_PROPERTIES(f32-vaddc-minmax-test PROPERTIES |
Marat Dukhan | c76065f | 2019-11-14 18:13:33 -0800 | [diff] [blame] | 2578 | CXX_STANDARD 11 |
| 2579 | CXX_STANDARD_REQUIRED YES |
| 2580 | CXX_EXTENSIONS YES) |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2581 | TARGET_INCLUDE_DIRECTORIES(f32-vaddc-minmax-test PRIVATE src test) |
| 2582 | TARGET_LINK_LIBRARIES(f32-vaddc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2583 | ADD_TEST(f32-vaddc-minmax-test f32-vaddc-minmax-test) |
Marat Dukhan | c76065f | 2019-11-14 18:13:33 -0800 | [diff] [blame] | 2584 | |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2585 | ADD_EXECUTABLE(f32-vdiv-minmax-test test/f32-vdiv-minmax.cc) |
| 2586 | SET_TARGET_PROPERTIES(f32-vdiv-minmax-test PROPERTIES |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 2587 | CXX_STANDARD 11 |
| 2588 | CXX_STANDARD_REQUIRED YES |
| 2589 | CXX_EXTENSIONS YES) |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2590 | TARGET_INCLUDE_DIRECTORIES(f32-vdiv-minmax-test PRIVATE src test) |
| 2591 | TARGET_LINK_LIBRARIES(f32-vdiv-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2592 | ADD_TEST(f32-vdiv-minmax-test f32-vdiv-minmax-test) |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 2593 | |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2594 | ADD_EXECUTABLE(f32-vdivc-minmax-test test/f32-vdivc-minmax.cc) |
| 2595 | SET_TARGET_PROPERTIES(f32-vdivc-minmax-test PROPERTIES |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 2596 | CXX_STANDARD 11 |
| 2597 | CXX_STANDARD_REQUIRED YES |
| 2598 | CXX_EXTENSIONS YES) |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2599 | TARGET_INCLUDE_DIRECTORIES(f32-vdivc-minmax-test PRIVATE src test) |
| 2600 | TARGET_LINK_LIBRARIES(f32-vdivc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2601 | ADD_TEST(f32-vdivc-minmax-test f32-vdivc-minmax-test) |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 2602 | |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2603 | ADD_EXECUTABLE(f32-vrdivc-minmax-test test/f32-vrdivc-minmax.cc) |
| 2604 | SET_TARGET_PROPERTIES(f32-vrdivc-minmax-test PROPERTIES |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 2605 | CXX_STANDARD 11 |
| 2606 | CXX_STANDARD_REQUIRED YES |
| 2607 | CXX_EXTENSIONS YES) |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2608 | TARGET_INCLUDE_DIRECTORIES(f32-vrdivc-minmax-test PRIVATE src test) |
| 2609 | TARGET_LINK_LIBRARIES(f32-vrdivc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2610 | ADD_TEST(f32-vrdivc-minmax-test f32-vrdivc-minmax-test) |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 2611 | |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 2612 | ADD_EXECUTABLE(f32-vmax-test test/f32-vmax.cc) |
| 2613 | SET_TARGET_PROPERTIES(f32-vmax-test PROPERTIES |
| 2614 | CXX_STANDARD 11 |
| 2615 | CXX_STANDARD_REQUIRED YES |
| 2616 | CXX_EXTENSIONS YES) |
| 2617 | TARGET_INCLUDE_DIRECTORIES(f32-vmax-test PRIVATE src test) |
| 2618 | TARGET_LINK_LIBRARIES(f32-vmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2619 | ADD_TEST(f32-vmax-test f32-vmax-test) |
| 2620 | |
| 2621 | ADD_EXECUTABLE(f32-vmaxc-test test/f32-vmaxc.cc) |
| 2622 | SET_TARGET_PROPERTIES(f32-vmaxc-test PROPERTIES |
| 2623 | CXX_STANDARD 11 |
| 2624 | CXX_STANDARD_REQUIRED YES |
| 2625 | CXX_EXTENSIONS YES) |
| 2626 | TARGET_INCLUDE_DIRECTORIES(f32-vmaxc-test PRIVATE src test) |
| 2627 | TARGET_LINK_LIBRARIES(f32-vmaxc-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2628 | ADD_TEST(f32-vmaxc-test f32-vmaxc-test) |
| 2629 | |
| 2630 | ADD_EXECUTABLE(f32-vmin-test test/f32-vmin.cc) |
| 2631 | SET_TARGET_PROPERTIES(f32-vmin-test PROPERTIES |
| 2632 | CXX_STANDARD 11 |
| 2633 | CXX_STANDARD_REQUIRED YES |
| 2634 | CXX_EXTENSIONS YES) |
| 2635 | TARGET_INCLUDE_DIRECTORIES(f32-vmin-test PRIVATE src test) |
| 2636 | TARGET_LINK_LIBRARIES(f32-vmin-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2637 | ADD_TEST(f32-vmin-test f32-vmin-test) |
| 2638 | |
| 2639 | ADD_EXECUTABLE(f32-vminc-test test/f32-vminc.cc) |
| 2640 | SET_TARGET_PROPERTIES(f32-vminc-test PROPERTIES |
| 2641 | CXX_STANDARD 11 |
| 2642 | CXX_STANDARD_REQUIRED YES |
| 2643 | CXX_EXTENSIONS YES) |
| 2644 | TARGET_INCLUDE_DIRECTORIES(f32-vminc-test PRIVATE src test) |
| 2645 | TARGET_LINK_LIBRARIES(f32-vminc-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2646 | ADD_TEST(f32-vminc-test f32-vminc-test) |
| 2647 | |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2648 | ADD_EXECUTABLE(f32-vmul-minmax-test test/f32-vmul-minmax.cc) |
| 2649 | SET_TARGET_PROPERTIES(f32-vmul-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2650 | CXX_STANDARD 11 |
| 2651 | CXX_STANDARD_REQUIRED YES |
| 2652 | CXX_EXTENSIONS YES) |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2653 | TARGET_INCLUDE_DIRECTORIES(f32-vmul-minmax-test PRIVATE src test) |
| 2654 | TARGET_LINK_LIBRARIES(f32-vmul-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2655 | ADD_TEST(f32-vmul-minmax-test f32-vmul-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2656 | |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2657 | ADD_EXECUTABLE(f32-vmulc-minmax-test test/f32-vmulc-minmax.cc) |
| 2658 | SET_TARGET_PROPERTIES(f32-vmulc-minmax-test PROPERTIES |
Marat Dukhan | c76065f | 2019-11-14 18:13:33 -0800 | [diff] [blame] | 2659 | CXX_STANDARD 11 |
| 2660 | CXX_STANDARD_REQUIRED YES |
| 2661 | CXX_EXTENSIONS YES) |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2662 | TARGET_INCLUDE_DIRECTORIES(f32-vmulc-minmax-test PRIVATE src test) |
| 2663 | TARGET_LINK_LIBRARIES(f32-vmulc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2664 | ADD_TEST(f32-vmulc-minmax-test f32-vmulc-minmax-test) |
Marat Dukhan | c76065f | 2019-11-14 18:13:33 -0800 | [diff] [blame] | 2665 | |
Marat Dukhan | b9d07cf | 2020-04-11 20:25:31 -0700 | [diff] [blame] | 2666 | ADD_EXECUTABLE(f32-vmulcaddc-minmax-test test/f32-vmulcaddc-minmax.cc) |
| 2667 | SET_TARGET_PROPERTIES(f32-vmulcaddc-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2668 | CXX_STANDARD 11 |
| 2669 | CXX_STANDARD_REQUIRED YES |
| 2670 | CXX_EXTENSIONS YES) |
Marat Dukhan | b9d07cf | 2020-04-11 20:25:31 -0700 | [diff] [blame] | 2671 | TARGET_INCLUDE_DIRECTORIES(f32-vmulcaddc-minmax-test PRIVATE src test) |
| 2672 | TARGET_LINK_LIBRARIES(f32-vmulcaddc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2673 | ADD_TEST(f32-vmulcaddc-minmax-test f32-vmulcaddc-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2674 | |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 2675 | ADD_EXECUTABLE(f32-vscaleexpminusmax-test test/f32-vscaleexpminusmax.cc) |
| 2676 | SET_TARGET_PROPERTIES(f32-vscaleexpminusmax-test PROPERTIES |
| 2677 | CXX_STANDARD 11 |
| 2678 | CXX_STANDARD_REQUIRED YES |
| 2679 | CXX_EXTENSIONS YES) |
| 2680 | TARGET_INCLUDE_DIRECTORIES(f32-vscaleexpminusmax-test PRIVATE src test) |
| 2681 | TARGET_LINK_LIBRARIES(f32-vscaleexpminusmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2682 | ADD_TEST(f32-vscaleexpminusmax-test f32-vscaleexpminusmax-test) |
| 2683 | |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 2684 | ADD_EXECUTABLE(f32-vscaleextexp-test test/f32-vscaleextexp.cc) |
Marat Dukhan | 9f240d1 | 2020-04-13 10:42:30 -0700 | [diff] [blame] | 2685 | SET_TARGET_PROPERTIES(f32-vscaleextexp-test PROPERTIES |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 2686 | CXX_STANDARD 11 |
| 2687 | CXX_STANDARD_REQUIRED YES |
| 2688 | CXX_EXTENSIONS YES) |
| 2689 | TARGET_INCLUDE_DIRECTORIES(f32-vscaleextexp-test PRIVATE src test) |
Marat Dukhan | a5977df | 2019-10-30 22:02:15 -0700 | [diff] [blame] | 2690 | TARGET_LINK_LIBRARIES(f32-vscaleextexp-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 2691 | ADD_TEST(f32-vscaleextexp-test f32-vscaleextexp-test) |
| 2692 | |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2693 | ADD_EXECUTABLE(f32-vsub-minmax-test test/f32-vsub-minmax.cc) |
| 2694 | SET_TARGET_PROPERTIES(f32-vsub-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2695 | CXX_STANDARD 11 |
| 2696 | CXX_STANDARD_REQUIRED YES |
| 2697 | CXX_EXTENSIONS YES) |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2698 | TARGET_INCLUDE_DIRECTORIES(f32-vsub-minmax-test PRIVATE src test) |
| 2699 | TARGET_LINK_LIBRARIES(f32-vsub-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2700 | ADD_TEST(f32-vsub-minmax-test f32-vsub-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2701 | |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2702 | ADD_EXECUTABLE(f32-vsubc-minmax-test test/f32-vsubc-minmax.cc) |
| 2703 | SET_TARGET_PROPERTIES(f32-vsubc-minmax-test PROPERTIES |
Marat Dukhan | c76065f | 2019-11-14 18:13:33 -0800 | [diff] [blame] | 2704 | CXX_STANDARD 11 |
| 2705 | CXX_STANDARD_REQUIRED YES |
| 2706 | CXX_EXTENSIONS YES) |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2707 | TARGET_INCLUDE_DIRECTORIES(f32-vsubc-minmax-test PRIVATE src test) |
| 2708 | TARGET_LINK_LIBRARIES(f32-vsubc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2709 | ADD_TEST(f32-vsubc-minmax-test f32-vsubc-minmax-test) |
Marat Dukhan | c76065f | 2019-11-14 18:13:33 -0800 | [diff] [blame] | 2710 | |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2711 | ADD_EXECUTABLE(f32-vrsubc-minmax-test test/f32-vrsubc-minmax.cc) |
| 2712 | SET_TARGET_PROPERTIES(f32-vrsubc-minmax-test PROPERTIES |
Marat Dukhan | c76065f | 2019-11-14 18:13:33 -0800 | [diff] [blame] | 2713 | CXX_STANDARD 11 |
| 2714 | CXX_STANDARD_REQUIRED YES |
| 2715 | CXX_EXTENSIONS YES) |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2716 | TARGET_INCLUDE_DIRECTORIES(f32-vrsubc-minmax-test PRIVATE src test) |
| 2717 | TARGET_LINK_LIBRARIES(f32-vrsubc-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2718 | ADD_TEST(f32-vrsubc-minmax-test f32-vrsubc-minmax-test) |
Marat Dukhan | c76065f | 2019-11-14 18:13:33 -0800 | [diff] [blame] | 2719 | |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2720 | ADD_EXECUTABLE(q8-avgpool-minmax-test test/q8-avgpool-minmax.cc) |
| 2721 | SET_TARGET_PROPERTIES(q8-avgpool-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2722 | CXX_STANDARD 11 |
| 2723 | CXX_STANDARD_REQUIRED YES |
| 2724 | CXX_EXTENSIONS YES) |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2725 | TARGET_INCLUDE_DIRECTORIES(q8-avgpool-minmax-test PRIVATE src test) |
| 2726 | TARGET_LINK_LIBRARIES(q8-avgpool-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2727 | ADD_TEST(q8-avgpool-minmax-test q8-avgpool-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2728 | |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 2729 | ADD_EXECUTABLE(q8-dwconv-minmax-test test/q8-dwconv-minmax.cc) |
| 2730 | SET_TARGET_PROPERTIES(q8-dwconv-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2731 | CXX_STANDARD 11 |
| 2732 | CXX_STANDARD_REQUIRED YES |
| 2733 | CXX_EXTENSIONS YES) |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 2734 | TARGET_INCLUDE_DIRECTORIES(q8-dwconv-minmax-test PRIVATE src test) |
| 2735 | TARGET_LINK_LIBRARIES(q8-dwconv-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2736 | ADD_TEST(q8-dwconv-minmax-test q8-dwconv-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2737 | |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2738 | ADD_EXECUTABLE(q8-gavgpool-minmax-test test/q8-gavgpool-minmax.cc) |
| 2739 | SET_TARGET_PROPERTIES(q8-gavgpool-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2740 | CXX_STANDARD 11 |
| 2741 | CXX_STANDARD_REQUIRED YES |
| 2742 | CXX_EXTENSIONS YES) |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2743 | TARGET_INCLUDE_DIRECTORIES(q8-gavgpool-minmax-test PRIVATE src test) |
| 2744 | TARGET_LINK_LIBRARIES(q8-gavgpool-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2745 | ADD_TEST(q8-gavgpool-test q8-gavgpool-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2746 | |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 2747 | ADD_EXECUTABLE(q8-gemm-minmax-test test/q8-gemm-minmax.cc) |
| 2748 | SET_TARGET_PROPERTIES(q8-gemm-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2749 | CXX_STANDARD 11 |
| 2750 | CXX_STANDARD_REQUIRED YES |
| 2751 | CXX_EXTENSIONS YES) |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 2752 | TARGET_INCLUDE_DIRECTORIES(q8-gemm-minmax-test PRIVATE src test) |
| 2753 | TARGET_LINK_LIBRARIES(q8-gemm-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2754 | ADD_TEST(q8-gemm-minmax-test q8-gemm-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2755 | |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 2756 | ADD_EXECUTABLE(q8-igemm-minmax-test test/q8-igemm-minmax.cc) |
| 2757 | SET_TARGET_PROPERTIES(q8-igemm-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2758 | CXX_STANDARD 11 |
| 2759 | CXX_STANDARD_REQUIRED YES |
| 2760 | CXX_EXTENSIONS YES) |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 2761 | TARGET_INCLUDE_DIRECTORIES(q8-igemm-minmax-test PRIVATE src test) |
| 2762 | TARGET_LINK_LIBRARIES(q8-igemm-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2763 | ADD_TEST(q8-igemm-minmax-test q8-igemm-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2764 | |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2765 | ADD_EXECUTABLE(q8-vadd-minmax-test test/q8-vadd-minmax.cc) |
| 2766 | SET_TARGET_PROPERTIES(q8-vadd-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2767 | CXX_STANDARD 11 |
| 2768 | CXX_STANDARD_REQUIRED YES |
| 2769 | CXX_EXTENSIONS YES) |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2770 | TARGET_INCLUDE_DIRECTORIES(q8-vadd-minmax-test PRIVATE src test) |
| 2771 | TARGET_LINK_LIBRARIES(q8-vadd-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2772 | ADD_TEST(q8-vadd-minmax-test q8-vadd-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2773 | |
Marat Dukhan | 53873d0 | 2019-12-06 17:21:30 -0800 | [diff] [blame] | 2774 | ADD_EXECUTABLE(u8-clamp-test test/u8-clamp.cc) |
| 2775 | SET_TARGET_PROPERTIES(u8-clamp-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2776 | CXX_STANDARD 11 |
| 2777 | CXX_STANDARD_REQUIRED YES |
| 2778 | CXX_EXTENSIONS YES) |
Marat Dukhan | 53873d0 | 2019-12-06 17:21:30 -0800 | [diff] [blame] | 2779 | TARGET_INCLUDE_DIRECTORIES(u8-clamp-test PRIVATE src test) |
| 2780 | TARGET_LINK_LIBRARIES(u8-clamp-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2781 | ADD_TEST(u8-clamp-test u8-clamp-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2782 | |
| 2783 | ADD_EXECUTABLE(u8-lut32norm-test test/u8-lut32norm.cc) |
| 2784 | SET_TARGET_PROPERTIES(u8-lut32norm-test PROPERTIES |
| 2785 | CXX_STANDARD 11 |
| 2786 | CXX_STANDARD_REQUIRED YES |
| 2787 | CXX_EXTENSIONS YES) |
| 2788 | TARGET_INCLUDE_DIRECTORIES(u8-lut32norm-test PRIVATE src test) |
| 2789 | TARGET_LINK_LIBRARIES(u8-lut32norm-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2790 | ADD_TEST(u8-lut32norm-test u8-lut32norm-test) |
| 2791 | |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2792 | ADD_EXECUTABLE(u8-maxpool-minmax-test test/u8-maxpool-minmax.cc) |
| 2793 | SET_TARGET_PROPERTIES(u8-maxpool-minmax-test PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2794 | CXX_STANDARD 11 |
| 2795 | CXX_STANDARD_REQUIRED YES |
| 2796 | CXX_EXTENSIONS YES) |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 2797 | TARGET_INCLUDE_DIRECTORIES(u8-maxpool-minmax-test PRIVATE src test) |
| 2798 | TARGET_LINK_LIBRARIES(u8-maxpool-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2799 | ADD_TEST(u8-maxpool-minmax-test u8-maxpool-minmax-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2800 | |
| 2801 | ADD_EXECUTABLE(u8-rmax-test test/u8-rmax.cc) |
| 2802 | SET_TARGET_PROPERTIES(u8-rmax-test PROPERTIES |
| 2803 | CXX_STANDARD 11 |
| 2804 | CXX_STANDARD_REQUIRED YES |
| 2805 | CXX_EXTENSIONS YES) |
| 2806 | TARGET_INCLUDE_DIRECTORIES(u8-rmax-test PRIVATE src test) |
| 2807 | TARGET_LINK_LIBRARIES(u8-rmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2808 | ADD_TEST(u8-rmax-test u8-rmax-test) |
| 2809 | |
| 2810 | ADD_EXECUTABLE(x32-packx-test test/x32-packx.cc) |
| 2811 | SET_TARGET_PROPERTIES(x32-packx-test PROPERTIES |
| 2812 | CXX_STANDARD 11 |
| 2813 | CXX_STANDARD_REQUIRED YES |
| 2814 | CXX_EXTENSIONS YES) |
| 2815 | TARGET_INCLUDE_DIRECTORIES(x32-packx-test PRIVATE src test) |
| 2816 | TARGET_LINK_LIBRARIES(x32-packx-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2817 | ADD_TEST(x32-packx-test x32-packx-test) |
| 2818 | |
| 2819 | ADD_EXECUTABLE(x32-pad-test test/x32-pad.cc) |
| 2820 | SET_TARGET_PROPERTIES(x32-pad-test PROPERTIES |
| 2821 | CXX_STANDARD 11 |
| 2822 | CXX_STANDARD_REQUIRED YES |
| 2823 | CXX_EXTENSIONS YES) |
| 2824 | TARGET_INCLUDE_DIRECTORIES(x32-pad-test PRIVATE src test) |
| 2825 | TARGET_LINK_LIBRARIES(x32-pad-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2826 | ADD_TEST(x32-pad-test x32-pad-test) |
| 2827 | |
| 2828 | ADD_EXECUTABLE(x32-unpool-test test/x32-unpool.cc) |
| 2829 | SET_TARGET_PROPERTIES(x32-unpool-test PROPERTIES |
| 2830 | CXX_STANDARD 11 |
| 2831 | CXX_STANDARD_REQUIRED YES |
| 2832 | CXX_EXTENSIONS YES) |
| 2833 | TARGET_INCLUDE_DIRECTORIES(x32-unpool-test PRIVATE src test) |
| 2834 | TARGET_LINK_LIBRARIES(x32-unpool-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2835 | ADD_TEST(x32-unpool-test x32-unpool-test) |
| 2836 | |
| 2837 | ADD_EXECUTABLE(x32-zip-test test/x32-zip.cc) |
| 2838 | SET_TARGET_PROPERTIES(x32-zip-test PROPERTIES |
| 2839 | CXX_STANDARD 11 |
| 2840 | CXX_STANDARD_REQUIRED YES |
| 2841 | CXX_EXTENSIONS YES) |
| 2842 | TARGET_INCLUDE_DIRECTORIES(x32-zip-test PRIVATE src test) |
| 2843 | TARGET_LINK_LIBRARIES(x32-zip-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2844 | ADD_TEST(x32-zip-test x32-zip-test) |
| 2845 | |
| 2846 | ADD_EXECUTABLE(x8-lut-test test/x8-lut.cc) |
| 2847 | SET_TARGET_PROPERTIES(x8-lut-test PROPERTIES |
| 2848 | CXX_STANDARD 11 |
| 2849 | CXX_STANDARD_REQUIRED YES |
| 2850 | CXX_EXTENSIONS YES) |
| 2851 | TARGET_INCLUDE_DIRECTORIES(x8-lut-test PRIVATE src test) |
| 2852 | TARGET_LINK_LIBRARIES(x8-lut-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2853 | ADD_TEST(x8-lut-test x8-lut-test) |
| 2854 | |
| 2855 | ADD_EXECUTABLE(x8-zip-test test/x8-zip.cc) |
| 2856 | SET_TARGET_PROPERTIES(x8-zip-test PROPERTIES |
| 2857 | CXX_STANDARD 11 |
| 2858 | CXX_STANDARD_REQUIRED YES |
| 2859 | CXX_EXTENSIONS YES) |
| 2860 | TARGET_INCLUDE_DIRECTORIES(x8-zip-test PRIVATE src test) |
| 2861 | TARGET_LINK_LIBRARIES(x8-zip-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2862 | ADD_TEST(x8-zip-test x8-zip-test) |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 2863 | |
| 2864 | ADD_EXECUTABLE(requantization-test test/requantization.cc) |
| 2865 | SET_TARGET_PROPERTIES(requantization-test PROPERTIES |
| 2866 | CXX_STANDARD 11 |
| 2867 | CXX_STANDARD_REQUIRED YES |
| 2868 | CXX_EXTENSIONS YES) |
| 2869 | TARGET_INCLUDE_DIRECTORIES(requantization-test PRIVATE src test) |
| 2870 | TARGET_LINK_LIBRARIES(requantization-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main) |
| 2871 | ADD_TEST(requantization-test requantization-test) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2872 | ENDIF() |
| 2873 | |
| 2874 | # ---[ XNNPACK microbenchmarks |
| 2875 | IF(XNNPACK_BUILD_BENCHMARKS) |
| 2876 | # ---[ Build google benchmark |
| 2877 | IF(NOT TARGET benchmark) |
| 2878 | SET(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "") |
| 2879 | ADD_SUBDIRECTORY( |
| 2880 | "${GOOGLEBENCHMARK_SOURCE_DIR}" |
| 2881 | "${CONFU_DEPENDENCIES_BINARY_DIR}/googlebenchmark") |
| 2882 | ENDIF() |
| 2883 | |
| 2884 | ADD_LIBRARY(bench-utils bench/utils.cc) |
| 2885 | SET_TARGET_PROPERTIES(bench-utils PROPERTIES |
| 2886 | CXX_STANDARD 11 |
| 2887 | CXX_STANDARD_REQUIRED YES |
| 2888 | CXX_EXTENSIONS NO) |
| 2889 | TARGET_INCLUDE_DIRECTORIES(bench-utils PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
Marat Dukhan | bad48fe | 2019-11-04 10:35:22 -0800 | [diff] [blame] | 2890 | TARGET_LINK_LIBRARIES(bench-utils PRIVATE benchmark cpuinfo) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2891 | |
Marat Dukhan | cb10f26 | 2019-11-16 15:52:37 -0800 | [diff] [blame] | 2892 | # ---[ Build accuracy microbenchmarks |
| 2893 | ADD_EXECUTABLE(f32-exp-eval eval/f32-exp.cc) |
| 2894 | SET_TARGET_PROPERTIES(f32-exp-eval PROPERTIES |
| 2895 | CXX_STANDARD 11 |
| 2896 | CXX_STANDARD_REQUIRED YES |
| 2897 | CXX_EXTENSIONS NO) |
| 2898 | TARGET_INCLUDE_DIRECTORIES(f32-exp-eval PRIVATE src) |
| 2899 | TARGET_LINK_LIBRARIES(f32-exp-eval PRIVATE XNNPACK benchmark fp16) |
| 2900 | |
| 2901 | ADD_EXECUTABLE(f32-expminus-eval eval/f32-expminus.cc) |
| 2902 | SET_TARGET_PROPERTIES(f32-expminus-eval PROPERTIES |
| 2903 | CXX_STANDARD 11 |
| 2904 | CXX_STANDARD_REQUIRED YES |
| 2905 | CXX_EXTENSIONS NO) |
| 2906 | TARGET_INCLUDE_DIRECTORIES(f32-expminus-eval PRIVATE src) |
| 2907 | TARGET_LINK_LIBRARIES(f32-expminus-eval PRIVATE XNNPACK benchmark fp16) |
| 2908 | |
| 2909 | ADD_EXECUTABLE(f32-extexp-eval eval/f32-extexp.cc) |
| 2910 | SET_TARGET_PROPERTIES(f32-extexp-eval PROPERTIES |
| 2911 | CXX_STANDARD 11 |
| 2912 | CXX_STANDARD_REQUIRED YES |
| 2913 | CXX_EXTENSIONS YES) |
| 2914 | TARGET_INCLUDE_DIRECTORIES(f32-extexp-eval PRIVATE src) |
| 2915 | TARGET_LINK_LIBRARIES(f32-extexp-eval PRIVATE XNNPACK benchmark fp16) |
| 2916 | |
Marat Dukhan | f35d73b | 2020-05-11 19:15:04 -0700 | [diff] [blame] | 2917 | ADD_EXECUTABLE(f32-roundne-eval eval/f32-roundne.cc) |
| 2918 | SET_TARGET_PROPERTIES(f32-roundne-eval PROPERTIES |
| 2919 | CXX_STANDARD 11 |
| 2920 | CXX_STANDARD_REQUIRED YES |
| 2921 | CXX_EXTENSIONS NO) |
| 2922 | TARGET_INCLUDE_DIRECTORIES(f32-roundne-eval PRIVATE src) |
| 2923 | TARGET_LINK_LIBRARIES(f32-roundne-eval PRIVATE XNNPACK fp16 gtest gtest_main) |
| 2924 | |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 2925 | ADD_EXECUTABLE(f32-roundd-eval eval/f32-roundd.cc) |
| 2926 | SET_TARGET_PROPERTIES(f32-roundd-eval PROPERTIES |
| 2927 | CXX_STANDARD 11 |
| 2928 | CXX_STANDARD_REQUIRED YES |
| 2929 | CXX_EXTENSIONS NO) |
| 2930 | TARGET_INCLUDE_DIRECTORIES(f32-roundd-eval PRIVATE src) |
| 2931 | TARGET_LINK_LIBRARIES(f32-roundd-eval PRIVATE XNNPACK fp16 gtest gtest_main) |
| 2932 | |
| 2933 | ADD_EXECUTABLE(f32-roundu-eval eval/f32-roundu.cc) |
| 2934 | SET_TARGET_PROPERTIES(f32-roundu-eval PROPERTIES |
| 2935 | CXX_STANDARD 11 |
| 2936 | CXX_STANDARD_REQUIRED YES |
| 2937 | CXX_EXTENSIONS NO) |
| 2938 | TARGET_INCLUDE_DIRECTORIES(f32-roundu-eval PRIVATE src) |
| 2939 | TARGET_LINK_LIBRARIES(f32-roundu-eval PRIVATE XNNPACK fp16 gtest gtest_main) |
| 2940 | |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 2941 | ADD_EXECUTABLE(f32-roundz-eval eval/f32-roundz.cc) |
| 2942 | SET_TARGET_PROPERTIES(f32-roundz-eval PROPERTIES |
| 2943 | CXX_STANDARD 11 |
| 2944 | CXX_STANDARD_REQUIRED YES |
| 2945 | CXX_EXTENSIONS NO) |
| 2946 | TARGET_INCLUDE_DIRECTORIES(f32-roundz-eval PRIVATE src) |
| 2947 | TARGET_LINK_LIBRARIES(f32-roundz-eval PRIVATE XNNPACK fp16 gtest gtest_main) |
| 2948 | |
Marat Dukhan | cb10f26 | 2019-11-16 15:52:37 -0800 | [diff] [blame] | 2949 | ADD_EXECUTABLE(f32-sigmoid-eval eval/f32-sigmoid.cc) |
| 2950 | SET_TARGET_PROPERTIES(f32-sigmoid-eval PROPERTIES |
| 2951 | CXX_STANDARD 11 |
| 2952 | CXX_STANDARD_REQUIRED YES |
| 2953 | CXX_EXTENSIONS NO) |
| 2954 | TARGET_INCLUDE_DIRECTORIES(f32-sigmoid-eval PRIVATE src) |
| 2955 | TARGET_LINK_LIBRARIES(f32-sigmoid-eval PRIVATE XNNPACK benchmark fp16) |
| 2956 | |
Marat Dukhan | 5f18d26 | 2019-10-31 10:24:14 -0700 | [diff] [blame] | 2957 | # ---[ Build end-to-end microbenchmarks |
Marat Dukhan | 17e1628 | 2019-12-10 12:09:35 -0800 | [diff] [blame] | 2958 | ADD_LIBRARY(bench-models STATIC |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 2959 | models/mobilenet-v1.cc |
| 2960 | models/mobilenet-v2.cc |
| 2961 | models/mobilenet-v3-large.cc |
| 2962 | models/mobilenet-v3-small.cc) |
| 2963 | SET_TARGET_PROPERTIES(bench-models PROPERTIES |
| 2964 | CXX_STANDARD 11 |
| 2965 | CXX_STANDARD_REQUIRED YES |
| 2966 | CXX_EXTENSIONS YES) |
| 2967 | TARGET_INCLUDE_DIRECTORIES(bench-models PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 2968 | TARGET_LINK_LIBRARIES(bench-models PRIVATE XNNPACK benchmark bench-utils) |
| 2969 | |
| 2970 | ADD_EXECUTABLE(end2end-bench bench/end2end.cc) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2971 | SET_TARGET_PROPERTIES(end2end-bench PROPERTIES |
| 2972 | CXX_STANDARD 11 |
| 2973 | CXX_STANDARD_REQUIRED YES |
| 2974 | CXX_EXTENSIONS NO) |
| 2975 | TARGET_INCLUDE_DIRECTORIES(end2end-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 2976 | TARGET_LINK_LIBRARIES(end2end-bench PRIVATE XNNPACK benchmark bench-models bench-utils) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2977 | |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 2978 | ADD_EXECUTABLE(f32-dwconv-e2e-bench bench/f32-dwconv-e2e.cc) |
Marat Dukhan | ef4416e | 2019-10-31 13:44:40 -0700 | [diff] [blame] | 2979 | SET_TARGET_PROPERTIES(f32-dwconv-e2e-bench PROPERTIES |
| 2980 | CXX_STANDARD 11 |
| 2981 | CXX_STANDARD_REQUIRED YES |
| 2982 | CXX_EXTENSIONS NO) |
Marat Dukhan | c9d2f3f | 2019-10-31 14:02:07 -0700 | [diff] [blame] | 2983 | TARGET_INCLUDE_DIRECTORIES(f32-dwconv-e2e-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}" src) |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 2984 | TARGET_LINK_LIBRARIES(f32-dwconv-e2e-bench PRIVATE XNNPACK benchmark bench-models bench-utils) |
Marat Dukhan | ef4416e | 2019-10-31 13:44:40 -0700 | [diff] [blame] | 2985 | |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 2986 | ADD_EXECUTABLE(f32-gemm-e2e-bench bench/f32-gemm-e2e.cc) |
Marat Dukhan | 0a5a53f | 2019-10-31 10:58:31 -0700 | [diff] [blame] | 2987 | SET_TARGET_PROPERTIES(f32-gemm-e2e-bench PROPERTIES |
Marat Dukhan | 5f18d26 | 2019-10-31 10:24:14 -0700 | [diff] [blame] | 2988 | CXX_STANDARD 11 |
| 2989 | CXX_STANDARD_REQUIRED YES |
| 2990 | CXX_EXTENSIONS NO) |
Marat Dukhan | c9d2f3f | 2019-10-31 14:02:07 -0700 | [diff] [blame] | 2991 | TARGET_INCLUDE_DIRECTORIES(f32-gemm-e2e-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}" src) |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 2992 | TARGET_LINK_LIBRARIES(f32-gemm-e2e-bench PRIVATE XNNPACK benchmark bench-models bench-utils) |
Marat Dukhan | 5f18d26 | 2019-10-31 10:24:14 -0700 | [diff] [blame] | 2993 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 2994 | # ---[ Build operator-level microbenchmarks |
| 2995 | ADD_EXECUTABLE(add-bench bench/add.cc) |
| 2996 | SET_TARGET_PROPERTIES(add-bench PROPERTIES |
| 2997 | CXX_STANDARD 11 |
| 2998 | CXX_STANDARD_REQUIRED YES |
| 2999 | CXX_EXTENSIONS NO) |
| 3000 | TARGET_INCLUDE_DIRECTORIES(add-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3001 | TARGET_LINK_LIBRARIES(add-bench PRIVATE XNNPACK cpuinfo benchmark bench-utils) |
| 3002 | |
| 3003 | ADD_EXECUTABLE(average-pooling-bench bench/average-pooling.cc) |
| 3004 | SET_TARGET_PROPERTIES(average-pooling-bench PROPERTIES |
| 3005 | CXX_STANDARD 11 |
| 3006 | CXX_STANDARD_REQUIRED YES |
| 3007 | CXX_EXTENSIONS NO) |
| 3008 | TARGET_INCLUDE_DIRECTORIES(average-pooling-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3009 | TARGET_LINK_LIBRARIES(average-pooling-bench PRIVATE XNNPACK cpuinfo benchmark bench-utils) |
| 3010 | |
| 3011 | ADD_EXECUTABLE(channel-shuffle-bench bench/channel-shuffle.cc) |
| 3012 | SET_TARGET_PROPERTIES(channel-shuffle-bench PROPERTIES |
| 3013 | CXX_STANDARD 11 |
| 3014 | CXX_STANDARD_REQUIRED YES |
| 3015 | CXX_EXTENSIONS NO) |
| 3016 | TARGET_INCLUDE_DIRECTORIES(channel-shuffle-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3017 | TARGET_LINK_LIBRARIES(channel-shuffle-bench PRIVATE XNNPACK cpuinfo benchmark bench-utils) |
| 3018 | |
| 3019 | ADD_EXECUTABLE(convolution-bench bench/convolution.cc) |
| 3020 | SET_TARGET_PROPERTIES(convolution-bench PROPERTIES |
| 3021 | CXX_STANDARD 11 |
| 3022 | CXX_STANDARD_REQUIRED YES |
| 3023 | CXX_EXTENSIONS NO) |
| 3024 | TARGET_INCLUDE_DIRECTORIES(convolution-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3025 | TARGET_LINK_LIBRARIES(convolution-bench PRIVATE XNNPACK cpuinfo benchmark bench-utils) |
| 3026 | |
| 3027 | ADD_EXECUTABLE(deconvolution-bench bench/deconvolution.cc) |
| 3028 | SET_TARGET_PROPERTIES(deconvolution-bench PROPERTIES |
| 3029 | CXX_STANDARD 11 |
| 3030 | CXX_STANDARD_REQUIRED YES |
| 3031 | CXX_EXTENSIONS NO) |
| 3032 | TARGET_INCLUDE_DIRECTORIES(deconvolution-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3033 | TARGET_LINK_LIBRARIES(deconvolution-bench PRIVATE XNNPACK cpuinfo benchmark bench-utils) |
| 3034 | |
| 3035 | ADD_EXECUTABLE(global-average-pooling-bench bench/global-average-pooling.cc) |
| 3036 | SET_TARGET_PROPERTIES(global-average-pooling-bench PROPERTIES |
| 3037 | CXX_STANDARD 11 |
| 3038 | CXX_STANDARD_REQUIRED YES |
| 3039 | CXX_EXTENSIONS NO) |
| 3040 | TARGET_INCLUDE_DIRECTORIES(global-average-pooling-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3041 | TARGET_LINK_LIBRARIES(global-average-pooling-bench PRIVATE XNNPACK cpuinfo benchmark bench-utils) |
| 3042 | |
| 3043 | ADD_EXECUTABLE(max-pooling-bench bench/max-pooling.cc) |
| 3044 | SET_TARGET_PROPERTIES(max-pooling-bench PROPERTIES |
| 3045 | CXX_STANDARD 11 |
| 3046 | CXX_STANDARD_REQUIRED YES |
| 3047 | CXX_EXTENSIONS NO) |
| 3048 | TARGET_INCLUDE_DIRECTORIES(max-pooling-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3049 | TARGET_LINK_LIBRARIES(max-pooling-bench PRIVATE XNNPACK cpuinfo benchmark bench-utils) |
| 3050 | |
Marat Dukhan | 95b2243 | 2019-10-30 16:30:14 -0700 | [diff] [blame] | 3051 | ADD_EXECUTABLE(prelu-bench bench/prelu.cc) |
| 3052 | SET_TARGET_PROPERTIES(prelu-bench PROPERTIES |
| 3053 | CXX_STANDARD 11 |
| 3054 | CXX_STANDARD_REQUIRED YES |
| 3055 | CXX_EXTENSIONS NO) |
| 3056 | TARGET_INCLUDE_DIRECTORIES(prelu-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3057 | TARGET_LINK_LIBRARIES(prelu-bench PRIVATE XNNPACK cpuinfo benchmark bench-utils) |
| 3058 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 3059 | ADD_EXECUTABLE(sigmoid-bench bench/sigmoid.cc) |
| 3060 | SET_TARGET_PROPERTIES(sigmoid-bench PROPERTIES |
| 3061 | CXX_STANDARD 11 |
| 3062 | CXX_STANDARD_REQUIRED YES |
| 3063 | CXX_EXTENSIONS NO) |
| 3064 | TARGET_INCLUDE_DIRECTORIES(sigmoid-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3065 | TARGET_LINK_LIBRARIES(sigmoid-bench PRIVATE XNNPACK cpuinfo benchmark bench-utils) |
| 3066 | |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 3067 | ADD_EXECUTABLE(softmax-bench bench/softmax.cc) |
| 3068 | SET_TARGET_PROPERTIES(softmax-bench PROPERTIES |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 3069 | CXX_STANDARD 11 |
| 3070 | CXX_STANDARD_REQUIRED YES |
| 3071 | CXX_EXTENSIONS NO) |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 3072 | TARGET_INCLUDE_DIRECTORIES(softmax-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3073 | TARGET_LINK_LIBRARIES(softmax-bench PRIVATE XNNPACK cpuinfo benchmark bench-utils) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 3074 | |
| 3075 | # ---[ Build microkernel-level microbenchmarks |
Frank Barchard | 40d20fe | 2020-05-05 00:37:45 -0700 | [diff] [blame] | 3076 | ADD_EXECUTABLE(f16-igemm-bench bench/f16-igemm.cc) |
| 3077 | SET_TARGET_PROPERTIES(f16-igemm-bench PROPERTIES |
| 3078 | CXX_STANDARD 11 |
| 3079 | CXX_STANDARD_REQUIRED YES |
| 3080 | CXX_EXTENSIONS YES) |
| 3081 | TARGET_INCLUDE_DIRECTORIES(f16-igemm-bench PRIVATE src) |
| 3082 | TARGET_INCLUDE_DIRECTORIES(f16-igemm-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3083 | TARGET_LINK_LIBRARIES(f16-igemm-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
| 3084 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 3085 | ADD_EXECUTABLE(f16-gemm-bench bench/f16-gemm.cc) |
| 3086 | SET_TARGET_PROPERTIES(f16-gemm-bench PROPERTIES |
| 3087 | CXX_STANDARD 11 |
| 3088 | CXX_STANDARD_REQUIRED YES |
| 3089 | CXX_EXTENSIONS YES) |
| 3090 | TARGET_INCLUDE_DIRECTORIES(f16-gemm-bench PRIVATE src) |
| 3091 | TARGET_INCLUDE_DIRECTORIES(f16-gemm-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3092 | TARGET_LINK_LIBRARIES(f16-gemm-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
| 3093 | |
| 3094 | ADD_EXECUTABLE(f32-conv-hwc-bench bench/f32-conv-hwc.cc) |
| 3095 | SET_TARGET_PROPERTIES(f32-conv-hwc-bench PROPERTIES |
| 3096 | CXX_STANDARD 11 |
| 3097 | CXX_STANDARD_REQUIRED YES |
| 3098 | CXX_EXTENSIONS YES) |
| 3099 | TARGET_INCLUDE_DIRECTORIES(f32-conv-hwc-bench PRIVATE src) |
| 3100 | TARGET_INCLUDE_DIRECTORIES(f32-conv-hwc-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3101 | TARGET_LINK_LIBRARIES(f32-conv-hwc-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
| 3102 | |
| 3103 | ADD_EXECUTABLE(f32-dwconv-spchw-bench bench/f32-dwconv-spchw.cc) |
| 3104 | SET_TARGET_PROPERTIES(f32-dwconv-spchw-bench PROPERTIES |
| 3105 | CXX_STANDARD 11 |
| 3106 | CXX_STANDARD_REQUIRED YES |
| 3107 | CXX_EXTENSIONS YES) |
| 3108 | TARGET_INCLUDE_DIRECTORIES(f32-dwconv-spchw-bench PRIVATE src) |
| 3109 | TARGET_INCLUDE_DIRECTORIES(f32-dwconv-spchw-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3110 | TARGET_LINK_LIBRARIES(f32-dwconv-spchw-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
| 3111 | |
| 3112 | ADD_EXECUTABLE(f32-dwconv-bench bench/f32-dwconv.cc) |
| 3113 | SET_TARGET_PROPERTIES(f32-dwconv-bench PROPERTIES |
| 3114 | CXX_STANDARD 11 |
| 3115 | CXX_STANDARD_REQUIRED YES |
| 3116 | CXX_EXTENSIONS YES) |
| 3117 | TARGET_INCLUDE_DIRECTORIES(f32-dwconv-bench PRIVATE src) |
| 3118 | TARGET_INCLUDE_DIRECTORIES(f32-dwconv-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3119 | TARGET_LINK_LIBRARIES(f32-dwconv-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
| 3120 | |
| 3121 | ADD_EXECUTABLE(f32-gemm-bench bench/f32-gemm.cc) |
| 3122 | SET_TARGET_PROPERTIES(f32-gemm-bench PROPERTIES |
| 3123 | CXX_STANDARD 11 |
| 3124 | CXX_STANDARD_REQUIRED YES |
| 3125 | CXX_EXTENSIONS YES) |
| 3126 | TARGET_INCLUDE_DIRECTORIES(f32-gemm-bench PRIVATE src) |
| 3127 | TARGET_INCLUDE_DIRECTORIES(f32-gemm-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3128 | TARGET_LINK_LIBRARIES(f32-gemm-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
| 3129 | |
| 3130 | ADD_EXECUTABLE(f32-igemm-bench bench/f32-igemm.cc) |
| 3131 | SET_TARGET_PROPERTIES(f32-igemm-bench PROPERTIES |
| 3132 | CXX_STANDARD 11 |
| 3133 | CXX_STANDARD_REQUIRED YES |
| 3134 | CXX_EXTENSIONS YES) |
| 3135 | TARGET_INCLUDE_DIRECTORIES(f32-igemm-bench PRIVATE src) |
| 3136 | TARGET_INCLUDE_DIRECTORIES(f32-igemm-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3137 | TARGET_LINK_LIBRARIES(f32-igemm-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
| 3138 | |
| 3139 | ADD_EXECUTABLE(f32-im2col-gemm-bench bench/f32-im2col-gemm.cc src/im2col.c) |
| 3140 | SET_TARGET_PROPERTIES(f32-im2col-gemm-bench PROPERTIES |
| 3141 | C_STANDARD 99 |
| 3142 | C_STANDARD_REQUIRED YES |
| 3143 | C_EXTENSIONS NO |
| 3144 | CXX_STANDARD 11 |
| 3145 | CXX_STANDARD_REQUIRED YES |
| 3146 | CXX_EXTENSIONS YES) |
| 3147 | TARGET_INCLUDE_DIRECTORIES(f32-im2col-gemm-bench PRIVATE src) |
| 3148 | TARGET_INCLUDE_DIRECTORIES(f32-im2col-gemm-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3149 | TARGET_LINK_LIBRARIES(f32-im2col-gemm-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
| 3150 | |
| 3151 | ADD_EXECUTABLE(f32-rmax-bench bench/f32-rmax.cc) |
| 3152 | SET_TARGET_PROPERTIES(f32-rmax-bench PROPERTIES |
| 3153 | CXX_STANDARD 11 |
| 3154 | CXX_STANDARD_REQUIRED YES |
| 3155 | CXX_EXTENSIONS YES) |
| 3156 | TARGET_INCLUDE_DIRECTORIES(f32-rmax-bench PRIVATE src) |
| 3157 | TARGET_INCLUDE_DIRECTORIES(f32-rmax-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3158 | TARGET_LINK_LIBRARIES(f32-rmax-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
| 3159 | |
Marat Dukhan | 581c1ac | 2019-11-18 14:57:54 -0800 | [diff] [blame] | 3160 | ADD_EXECUTABLE(f32-sigmoid-bench bench/f32-sigmoid.cc) |
| 3161 | SET_TARGET_PROPERTIES(f32-sigmoid-bench PROPERTIES |
| 3162 | CXX_STANDARD 11 |
| 3163 | CXX_STANDARD_REQUIRED YES |
| 3164 | CXX_EXTENSIONS YES) |
| 3165 | TARGET_INCLUDE_DIRECTORIES(f32-sigmoid-bench PRIVATE src) |
| 3166 | TARGET_INCLUDE_DIRECTORIES(f32-sigmoid-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3167 | TARGET_LINK_LIBRARIES(f32-sigmoid-bench PRIVATE XNNPACK benchmark bench-utils) |
| 3168 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 3169 | ADD_EXECUTABLE(f32-spmm-bench bench/f32-spmm.cc) |
| 3170 | SET_TARGET_PROPERTIES(f32-spmm-bench PROPERTIES |
| 3171 | CXX_STANDARD 11 |
| 3172 | CXX_STANDARD_REQUIRED YES |
| 3173 | CXX_EXTENSIONS YES) |
| 3174 | TARGET_INCLUDE_DIRECTORIES(f32-spmm-bench PRIVATE src) |
| 3175 | TARGET_INCLUDE_DIRECTORIES(f32-spmm-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3176 | TARGET_LINK_LIBRARIES(f32-spmm-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
| 3177 | |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 3178 | ADD_EXECUTABLE(f32-softmax-bench bench/f32-softmax.cc) |
| 3179 | SET_TARGET_PROPERTIES(f32-softmax-bench PROPERTIES |
Marat Dukhan | 4a4a7fa | 2019-10-21 13:46:14 -0700 | [diff] [blame] | 3180 | CXX_STANDARD 11 |
| 3181 | CXX_STANDARD_REQUIRED YES |
| 3182 | CXX_EXTENSIONS YES) |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 3183 | TARGET_INCLUDE_DIRECTORIES(f32-softmax-bench PRIVATE src) |
| 3184 | TARGET_INCLUDE_DIRECTORIES(f32-softmax-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3185 | TARGET_LINK_LIBRARIES(f32-softmax-bench PRIVATE XNNPACK fp16 benchmark bench-utils) |
Marat Dukhan | 4a4a7fa | 2019-10-21 13:46:14 -0700 | [diff] [blame] | 3186 | |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 3187 | ADD_EXECUTABLE(q8-gemm-bench bench/q8-gemm.cc) |
| 3188 | SET_TARGET_PROPERTIES(q8-gemm-bench PROPERTIES |
| 3189 | CXX_STANDARD 11 |
| 3190 | CXX_STANDARD_REQUIRED YES |
| 3191 | CXX_EXTENSIONS YES) |
| 3192 | TARGET_INCLUDE_DIRECTORIES(q8-gemm-bench PRIVATE src) |
| 3193 | TARGET_INCLUDE_DIRECTORIES(q8-gemm-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3194 | TARGET_LINK_LIBRARIES(q8-gemm-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 3195 | |
| 3196 | ADD_EXECUTABLE(requantization-bench bench/requantization.cc) |
| 3197 | SET_TARGET_PROPERTIES(requantization-bench PROPERTIES |
| 3198 | CXX_STANDARD 11 |
| 3199 | CXX_STANDARD_REQUIRED YES |
| 3200 | CXX_EXTENSIONS YES) |
| 3201 | TARGET_INCLUDE_DIRECTORIES(requantization-bench PRIVATE src) |
| 3202 | TARGET_INCLUDE_DIRECTORIES(requantization-bench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") |
| 3203 | TARGET_LINK_LIBRARIES(requantization-bench PRIVATE XNNPACK cpuinfo fp16 benchmark bench-utils) |
Marat Dukhan | 2dbdc2f | 2019-10-08 16:36:23 -0700 | [diff] [blame] | 3204 | ENDIF() |