diff options
author | Michael Tyler <michael.tyler@arm.com> | 2023-06-06 17:31:44 +0100 |
---|---|---|
committer | michael.tyler <michael.tyler@arm.com> | 2023-06-07 09:06:55 +0000 |
commit | 7a31a820fdd79727a45afc8959e7c59ea34a44c2 (patch) | |
tree | 891d26b48c95728c96619fd110be38e2654deaac /src/core/NEON/kernels/arm_conv/depthwise | |
parent | 48c0ed9d6298dfcc2bf37ac85c168fc7d41ee803 (diff) | |
download | ComputeLibrary-7a31a820fdd79727a45afc8959e7c59ea34a44c2.tar.gz |
Fix guards for FP16 depthwise kernels
Resolves COMPMID-6291
Change-Id: Ibe5da8cfcf6d7fd994ddf7759efd0e773accdeb2
Signed-off-by: Michael Tyler <michael.tyler@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9731
Reviewed-by: Pablo Marquez Tello <pablo.tello@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/arm_conv/depthwise')
-rw-r--r-- | src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp16.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp16.cpp b/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp16.cpp index 134dbd1b4c..ed4f17de5a 100644 --- a/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp16.cpp +++ b/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp16.cpp @@ -100,6 +100,7 @@ namespace static const DepthwiseImplementation<__fp16, __fp16> depthwise_fp16_methods[] = { #if defined(__aarch64__) +#if defined(ENABLE_FP16_KERNELS) && defined(__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) #if defined(ARM_COMPUTE_ENABLE_SVE) #if defined(ARM_COMPUTE_ENABLE_SME2) { @@ -224,7 +225,6 @@ static const DepthwiseImplementation<__fp16, __fp16> depthwise_fp16_methods[] = }, }, #endif // defined(ARM_COMPUTE_ENABLE_SVE) -#if defined(ENABLE_FP16_KERNELS) && defined(__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) { DepthwiseMethod::DEPTHFIRST, "a64_fp16_nhwc_3x3_s1_output4x4_mla_depthfirst", |