BatchNorm changes to enable fp16 in armv8a multi_isa builds
* Moved NCHW kernels fp16 and fp32 to their corresponding files
src/cpu/kernels/fuse_batch_normalization/nchw/neon/fp16.cpp and
src/cpu/kernels/fuse_batch_normalization/nchw/neon/fp32.cpp
* Changes in filelist.json to include the new fp16 and fp32 files
* Moved the template batch_normalization_nchw to impl.h as we
need to instantiate it from fp16.cpp and fp32.cpp
* Pooling layer: removed the guard __ARM_FEATURE_FP16_VECTOR_ARITHMETIC that
prevented the FP16 kernel execution.
* Partially resolves MLCE-1102
Change-Id: Ia8c85e9ffb76c9e387f9ae2685e5df5e52c8dc27
Signed-off-by: Pablo Marquez Tello <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10777
Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
diff --git a/src/BUILD.bazel b/src/BUILD.bazel
index 42841fe..f281b6a 100644
--- a/src/BUILD.bazel
+++ b/src/BUILD.bazel
@@ -766,6 +766,8 @@
"cpu/kernels/fuse_batch_normalization/generic/fp16.cpp",
"cpu/kernels/fuse_batch_normalization/generic/fp32.cpp",
"cpu/kernels/fuse_batch_normalization/nchw/all.cpp",
+ "cpu/kernels/fuse_batch_normalization/nchw/neon/fp16.cpp",
+ "cpu/kernels/fuse_batch_normalization/nchw/neon/fp32.cpp",
"cpu/kernels/fuse_batch_normalization/nhwc/neon/fp16.cpp",
"cpu/kernels/fuse_batch_normalization/nhwc/neon/fp32.cpp",
"cpu/kernels/gemm_matrix_add/generic/neon/fp16.cpp",