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/cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ if(WIN32)
set_overridable_option(XNNPACK_ENABLE_AVX256VNNI OFF)
set_overridable_option(XNNPACK_ENABLE_AVX256VNNIGFNI OFF)
set_overridable_option(XNNPACK_ENABLE_AVX512BF16 OFF)
# clang-cl (reported by CMake as Clang, not MSVC, so XNNPACK's own MSVC gate
# does not catch it) crashes with an internal codegen error compiling some of
# the AVX512-FP16 micro-kernels, so disable them on Windows.
set_overridable_option(XNNPACK_ENABLE_AVX512FP16 OFF)
endif()

set(XNNPACK_BUILD_ALL_MICROKERNELS
Expand Down
2 changes: 1 addition & 1 deletion backends/xnnpack/third-party/XNNPACK
Submodule XNNPACK updated 2852 files
6 changes: 5 additions & 1 deletion backends/xnnpack/third-party/xnnpack.buck.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ def define_xnnpack():
# @lint-ignore BUCKLINT: native and fb_native are explicitly forbidden in fbcode.
native.cxx_library(
name = "subgraph",
srcs = SUBGRAPH_SRCS + ["XNNPACK/src/datatype.c"],
srcs = SUBGRAPH_SRCS + [
"XNNPACK/src/datatype.c",
"XNNPACK/src/subgraph/rewrites/cvt_to_fp32.cc",
],
compiler_flags = [
"-Wno-error=missing-braces", # required since the SGX toolchain does not have this by default
],
Expand Down Expand Up @@ -1150,6 +1153,7 @@ def define_xnnpack():
"XNNPACK/src/init.c",
"XNNPACK/src/params.c",
"XNNPACK/src/configs/hardware-config.c",
"XNNPACK/src/xnnpack/init-once.c",
"XNNPACK/src/microparams-init.c",
"XNNPACK/src/microkernel-utils.c",
"XNNPACK/src/reference/binary-elementwise.cc",
Expand Down
Loading