diff options
author | Gunes Bayir <gunes.bayir@arm.com> | 2023-09-14 15:14:48 +0100 |
---|---|---|
committer | Gunes Bayir <gunes.bayir@arm.com> | 2023-09-15 13:23:31 +0000 |
commit | c071328414780e2c3841a1adaac1b1f45a411724 (patch) | |
tree | 1197d99a07ff950c73372ddf4b79154e7f08d0cf /src/cpu | |
parent | e87fa660e188007391f0584a56c8970665780684 (diff) | |
download | ComputeLibrary-c071328414780e2c3841a1adaac1b1f45a411724.tar.gz |
Fix include dependencies for mass reformatting patch
This patch fixes some include dependencies in certain files that caused build failures in https://review.mlplatform.org/c/ml/ComputeLibrary/+/10287.
It also circumvents some clang-format glitches.
Signed-off-by: Gunes Bayir <gunes.bayir@arm.com>
Change-Id: I8e9d3307edd2d1afd17c685c9bc9429624130e5a
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10313
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: <felixjohnny.thomasmathibalan@arm.com>
Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/kernels/cast/generic/neon/bfloat16.cpp | 1 | ||||
-rw-r--r-- | src/cpu/kernels/cast/generic/neon/fp16.cpp | 1 | ||||
-rw-r--r-- | src/cpu/operators/CpuConv2d.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/kernels/cast/generic/neon/bfloat16.cpp b/src/cpu/kernels/cast/generic/neon/bfloat16.cpp index 91c15be279..d8e2756192 100644 --- a/src/cpu/kernels/cast/generic/neon/bfloat16.cpp +++ b/src/cpu/kernels/cast/generic/neon/bfloat16.cpp @@ -23,6 +23,7 @@ */ #if defined(ARM_COMPUTE_ENABLE_BF16) +#include "arm_compute/core/CPP/CPPTypes.h" #include "arm_compute/core/TensorInfo.h" #include "src/core/NEON/wrapper/wrapper.h" #include "src/cpu/kernels/CpuCastKernel.h" diff --git a/src/cpu/kernels/cast/generic/neon/fp16.cpp b/src/cpu/kernels/cast/generic/neon/fp16.cpp index 385ca1898d..6cd0c8500b 100644 --- a/src/cpu/kernels/cast/generic/neon/fp16.cpp +++ b/src/cpu/kernels/cast/generic/neon/fp16.cpp @@ -23,6 +23,7 @@ */ #if defined(__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) && defined(ENABLE_FP16_KERNELS) +#include "arm_compute/core/CPP/CPPTypes.h" #include "arm_compute/core/TensorInfo.h" #include "src/cpu/kernels/CpuCastKernel.h" #include "src/cpu/kernels/cast/list.h" diff --git a/src/cpu/operators/CpuConv2d.cpp b/src/cpu/operators/CpuConv2d.cpp index 447b740989..16ac16b3ba 100644 --- a/src/cpu/operators/CpuConv2d.cpp +++ b/src/cpu/operators/CpuConv2d.cpp @@ -215,6 +215,7 @@ ConvolutionMethod CpuConv2d::get_convolution_method(const ITensorInfo *input, co } } #endif // __ARM_FEATURE_FP16_VECTOR_ARITHMETIC + // For 1x1 convolutions run the default GEMM if(weights->dimension(idx_w) == 1 && weights->dimension(idx_h) == 1) { |