Skip to content

Commit

Permalink
Fix a few more missing deps in the Bazel build graph.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 660535383
  • Loading branch information
xnnpack-bot committed Aug 7, 2024
1 parent 197d184 commit 98af138
Show file tree
Hide file tree
Showing 25 changed files with 127 additions and 16 deletions.
41 changes: 25 additions & 16 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ xnnpack_microkernel_cc_library(
srcs_prod = ["src/amalgam/gen/scalar.c"],
srcs_test = ALL_SCALAR_MICROKERNEL_SRCS,
deps = MICROKERNEL_DEPS + [
":config_hdrs",
"@FP16",
"@FXdiv",
],
Expand Down Expand Up @@ -855,6 +856,7 @@ xnnpack_microkernel_cc_library(
msvc_copts = xnnpack_msvc_std_copts(),
deps = MICROKERNEL_DEPS + xnnpack_if_kleidiai_enabled([
"@KleidiAI//kai/ukernels/matmul",
"@KleidiAI//kai/ukernels/matmul:lhs_quant_pack_qai8dxp_f32",
]),
)

Expand Down Expand Up @@ -977,6 +979,7 @@ xnnpack_microkernel_cc_library(
msvc_copts = xnnpack_msvc_std_copts(),
deps = MICROKERNEL_DEPS + xnnpack_if_kleidiai_enabled([
"@KleidiAI//kai/ukernels/matmul",
"@KleidiAI//kai/ukernels/matmul:clamp_f32_qai8dxp1x8_qsi4cxp8x8_1x8x32_neon_dotprod",
]),
)

Expand All @@ -1000,6 +1003,7 @@ xnnpack_microkernel_cc_library(
msvc_copts = xnnpack_msvc_std_copts(),
deps = MICROKERNEL_DEPS + xnnpack_if_kleidiai_enabled([
"@KleidiAI//kai/ukernels/matmul",
"@KleidiAI//kai/ukernels/matmul:clamp_f32_qai8dxp4x8_qsi4cxp8x8_8x8x32_neon_i8mm",
]),
)

Expand Down Expand Up @@ -1786,10 +1790,15 @@ xnnpack_cc_library(
":config_hdrs",
":logging",
":math",
":microparams",
":params",
":unaligned",
":xnnpack_h",
"@FP16",
] + xnnpack_if_kleidiai_enabled([
"@KleidiAI//kai/ukernels/matmul",
"@KleidiAI//kai/ukernels/matmul:rhs_pack_kxn_qsi4cxp_qsu4cxs1s0",
"@KleidiAI//kai/ukernels/matmul:rhs_pack_nxk_qsi4cxp_qsu4cxs1s0",
]),
)

Expand Down Expand Up @@ -2007,6 +2016,7 @@ xnnpack_cc_library(
],
deps = [
":allocator",
":logging",
":microkernel_configs",
":microparams",
":params",
Expand Down Expand Up @@ -2040,10 +2050,12 @@ xnnpack_cc_library(
gcc_copts = xnnpack_gcc_std_copts(),
msvc_copts = xnnpack_msvc_std_copts(),
deps = [
":cache",
":allocator",
":common",
":logging",
":math",
":operator_h",
":params",
":xnnpack_h",
],
)
Expand Down Expand Up @@ -2076,13 +2088,15 @@ xnnpack_cc_library(
":microkernel_configs",
":microkernel_type",
":microkernel_utils",
":microkernels_h",
":microparams_init",
":normalization",
":operator_type",
":operator_utils",
":packing",
":params",
":post_operation",
":quantization",
":xnnpack_h",
"@FP16",
"@pthreadpool",
Expand Down Expand Up @@ -2226,6 +2240,9 @@ xnnpack_cc_library(
":allocator",
":build_identifier",
":common",
":config_hdrs",
":hardware_config",
":init_once",
":logging",
":math",
":microkernels_h",
Expand All @@ -2234,6 +2251,7 @@ xnnpack_cc_library(
":operators",
":params",
":subgraph",
"@pthreadpool",
],
)

Expand All @@ -2257,17 +2275,12 @@ xnnpack_cc_library(
visibility = xnnpack_visibility(),
deps = [
":allocator",
":build_identifier",
":common",
":config_hdrs",
":init_once",
":logging",
":math",
":microkernels_h",
":microparams",
":microparams_init",
":operators",
":params",
":prod_microkernels",
":subgraph",
"@pthreadpool",
],
)

Expand All @@ -2291,16 +2304,12 @@ xnnpack_cc_library(
visibility = xnnpack_visibility(),
deps = [
":allocator",
":build_identifier",
":common",
":config_hdrs",
":init_once",
":logging",
":math",
":microkernels_h",
":microparams",
":microparams_init",
":operators",
":params",
":prod_microkernels",
"@pthreadpool",
],
)

Expand Down
5 changes: 5 additions & 0 deletions src/f16-avgpool/f16-avgpool-9p8x-minmax-f16c-c8.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@

#include <immintrin.h>

#include <stddef.h>
#include <stdint.h>

#include "xnnpack/avgpool.h"
#include "xnnpack/common.h"
#include "xnnpack/intrinsics-polyfill.h"
#include "xnnpack/microparams.h"


void xnn_f16_avgpool_minmax_ukernel_9p8x__f16c_c8(
Expand Down
5 changes: 5 additions & 0 deletions src/f16-avgpool/f16-avgpool-9x-minmax-f16c-c8.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@

#include <immintrin.h>

#include <stddef.h>
#include <stdint.h>

#include "xnnpack/avgpool.h"
#include "xnnpack/common.h"
#include "xnnpack/intrinsics-polyfill.h"
#include "xnnpack/microparams.h"


void xnn_f16_avgpool_minmax_ukernel_9x__f16c_c8(
Expand Down
5 changes: 5 additions & 0 deletions src/f16-pavgpool/f16-pavgpool-9p8x-minmax-avx2-c8.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

#include <immintrin.h>

#include <stddef.h>
#include <stdint.h>

#include "xnnpack/common.h"
#include "xnnpack/intrinsics-polyfill.h"
#include "xnnpack/microparams.h"
#include "xnnpack/pavgpool.h"


Expand Down
5 changes: 5 additions & 0 deletions src/f16-pavgpool/f16-pavgpool-9x-minmax-avx2-c8.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

#include <immintrin.h>

#include <stddef.h>
#include <stdint.h>

#include "xnnpack/common.h"
#include "xnnpack/intrinsics-polyfill.h"
#include "xnnpack/microparams.h"
#include "xnnpack/pavgpool.h"


Expand Down
5 changes: 5 additions & 0 deletions src/f32-avgpool/f32-avgpool-9p8x-minmax-scalar-c1.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@

#include <assert.h>

#include <stddef.h>
#include <stdint.h>

#include "xnnpack/avgpool.h"
#include "xnnpack/common.h"
#include "xnnpack/math.h"
#include "xnnpack/microparams.h"


void xnn_f32_avgpool_minmax_ukernel_9p8x__scalar_c1(
Expand Down
4 changes: 4 additions & 0 deletions src/f32-avgpool/f32-avgpool-9p8x-minmax-sse-c4.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@

#include <assert.h>

#include <stddef.h>
#include <stdint.h>
#include <xmmintrin.h>

#include "xnnpack/avgpool.h"
#include "xnnpack/common.h"
#include "xnnpack/microparams.h"


void xnn_f32_avgpool_minmax_ukernel_9p8x__sse_c4(
Expand Down
5 changes: 5 additions & 0 deletions src/f32-avgpool/f32-avgpool-9x-minmax-scalar-c1.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@

#include <assert.h>

#include <stddef.h>
#include <stdint.h>

#include "xnnpack/avgpool.h"
#include "xnnpack/common.h"
#include "xnnpack/math.h"
#include "xnnpack/microparams.h"


void xnn_f32_avgpool_minmax_ukernel_9x__scalar_c1(
Expand Down
5 changes: 5 additions & 0 deletions src/f32-avgpool/f32-avgpool-9x-minmax-sse-c4.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@

#include <assert.h>

#include <stddef.h>
#include <stdint.h>
#include <xmmintrin.h>


#include "xnnpack/avgpool.h"
#include "xnnpack/common.h"
#include "xnnpack/microparams.h"


void xnn_f32_avgpool_minmax_ukernel_9x__sse_c4(
Expand Down
5 changes: 5 additions & 0 deletions src/f32-pavgpool/f32-pavgpool-9p8x-minmax-scalar-c1.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

#include <assert.h>

#include <stddef.h>
#include <stdint.h>

#include "xnnpack/common.h"
#include "xnnpack/microparams.h"
#include "xnnpack/pavgpool.h"
#include "xnnpack/math.h"

Expand Down
5 changes: 5 additions & 0 deletions src/f32-pavgpool/f32-pavgpool-9p8x-minmax-sse-c4.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@

#include <assert.h>

#include <stddef.h>
#include <stdint.h>
#include <xmmintrin.h>


#include "xnnpack/common.h"
#include "xnnpack/microparams.h"
#include "xnnpack/pavgpool.h"


Expand Down
5 changes: 5 additions & 0 deletions src/f32-pavgpool/f32-pavgpool-9x-minmax-scalar-c1.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

#include <assert.h>

#include <stddef.h>
#include <stdint.h>

#include "xnnpack/common.h"
#include "xnnpack/microparams.h"
#include "xnnpack/pavgpool.h"
#include "xnnpack/math.h"

Expand Down
4 changes: 4 additions & 0 deletions src/f32-pavgpool/f32-pavgpool-9x-minmax-sse-c4.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@

#include <assert.h>

#include <stddef.h>
#include <stdint.h>
#include <xmmintrin.h>

#include "xnnpack/common.h"
#include "xnnpack/microparams.h"
#include "xnnpack/pavgpool.h"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@

#include <assert.h>

#include <stddef.h>
#include <stdint.h>

#include "xnnpack/avgpool.h"
#include "xnnpack/common.h"
#include "xnnpack/math.h"
#include "xnnpack/microparams.h"


void xnn_qu8_avgpool_minmax_fp32_ukernel_9p8x__scalar_imagic_c1(
Expand Down
4 changes: 4 additions & 0 deletions src/qu8-avgpool/qu8-avgpool-9p8x-minmax-fp32-sse2-c8.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@
#include <assert.h>

#include <emmintrin.h>
#include <stddef.h>
#include <stdint.h>

#include "xnnpack/avgpool.h"
#include "xnnpack/common.h"
#include "xnnpack/microparams.h"
#include "xnnpack/unaligned.h"


Expand Down
5 changes: 5 additions & 0 deletions src/qu8-avgpool/qu8-avgpool-9x-minmax-fp32-scalar-imagic-c1.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@

#include <assert.h>

#include <stddef.h>
#include <stdint.h>

#include "xnnpack/avgpool.h"
#include "xnnpack/common.h"
#include "xnnpack/math.h"
#include "xnnpack/microparams.h"


void xnn_qu8_avgpool_minmax_fp32_ukernel_9x__scalar_imagic_c1(
Expand Down
4 changes: 4 additions & 0 deletions src/qu8-avgpool/qu8-avgpool-9x-minmax-fp32-sse2-c8.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@
#include <assert.h>

#include <emmintrin.h>
#include <stddef.h>
#include <stdint.h>

#include "xnnpack/avgpool.h"
#include "xnnpack/common.h"
#include "xnnpack/microparams.h"
#include "xnnpack/unaligned.h"


Expand Down
4 changes: 4 additions & 0 deletions src/s8-vclamp/s8-vclamp-scalar-u4.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
// LICENSE file in the root directory of this source tree.

#include <assert.h>
#include <stddef.h>
#include <stdint.h>

#include "xnnpack/common.h"
#include "xnnpack/math.h"
#include "xnnpack/microparams.h"
#include "xnnpack/vunary.h"


Expand Down
4 changes: 4 additions & 0 deletions src/s8-vclamp/s8-vclamp-sse2-u64.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
#include <assert.h>

#include <emmintrin.h>
#include <stddef.h>
#include <stdint.h>

#include "xnnpack/common.h"
#include "xnnpack/microparams.h"
#include "xnnpack/unaligned.h"
#include "xnnpack/vunary.h"

Expand Down
4 changes: 4 additions & 0 deletions src/s8-vclamp/s8-vclamp-sse41-u64.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
#include <assert.h>

#include <smmintrin.h>
#include <stddef.h>
#include <stdint.h>

#include "xnnpack/common.h"
#include "xnnpack/microparams.h"
#include "xnnpack/unaligned.h"
#include "xnnpack/vunary.h"

Expand Down
Loading

0 comments on commit 98af138

Please sign in to comment.