Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions backends/xnnpack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,16 @@ install(
xnnpack-normalization
xnnpack-operators
xnnpack-operator-run
xnnpack-operator-delete
xnnpack-operator-utils
xnnpack-pack-lh
xnnpack-packing
xnnpack-sanitizers
xnnpack-subgraph
xnnpack-datatype
xnnpack-fingerprint-id
xnnpack-fingerprint-cache
xnnpack-fingerprint-check
xnnpack-reference-ukernels
xnnpack-logging
EXPORT ExecuTorchTargets
Expand Down
2 changes: 1 addition & 1 deletion backends/xnnpack/third-party/XNNPACK
Submodule XNNPACK updated 2893 files
14 changes: 13 additions & 1 deletion backends/xnnpack/third-party/xnnpack.buck.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ def define_xnnpack():
"XNNPACK/src/memory.c",
"XNNPACK/src/mutex.c",
"XNNPACK/src/normalization.c",
"XNNPACK/src/operator-delete.c",
"XNNPACK/src/operator-utils.c",
"XNNPACK/src/operators/fingerprint_cache.c",
"XNNPACK/src/operators/fingerprint_id.c",
"XNNPACK/src/reference/packing.cc",
],
headers = get_xnnpack_headers(),
Expand Down Expand Up @@ -1039,7 +1042,7 @@ def define_xnnpack():
native.cxx_library(
name = "ukernels_avx512vnnigfni",
srcs = select({
"DEFAULT": prod_srcs_for_arch_wrapper("avx512vnnifgni"),
"DEFAULT": prod_srcs_for_arch_wrapper("avx512vnnigfni"),
"ovr_config//cpu:arm32": DEFAULT_DUMMY_SRC,
"ovr_config//cpu:arm64": DEFAULT_DUMMY_SRC,
}),
Expand Down Expand Up @@ -1068,6 +1071,7 @@ def define_xnnpack():
"-mavxvnni",
"-mf16c",
"-mfma",
"-mgfni",
]

# @lint-ignore BUCKLINT: native and fb_native are explicitly forbidden in fbcode.
Expand Down Expand Up @@ -1172,6 +1176,14 @@ def define_xnnpack():
# "-DXNN_ENABLE_DWCONV_MULTIPLASS=0",
"-DXNN_ENABLE_ARM_I8MM=1",
"-DXNN_ENABLE_ARM_FP16_VECTOR=1",
"-DXNN_ENABLE_SSE=1",
"-DXNN_ENABLE_SSE2=1",
"-DXNN_ENABLE_SSSE3=1",
"-DXNN_ENABLE_SSE41=1",
"-DXNN_ENABLE_AVX=1",
"-DXNN_ENABLE_F16C=1",
"-DXNN_ENABLE_FMA3=1",
"-DXNN_ENABLE_AVX2=1",
"-DXNN_ENABLE_AVX512F=1",
"-DXNN_ENABLE_AVX512SKX=1",
"-DXNN_ENABLE_AVX512VNNI=1",
Expand Down
Loading