diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-07-29 12:40:59 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-07-29 13:01:43 +0000 |
commit | f33484f48fa87f70f3368289bcfc3e64349a718f (patch) | |
tree | 24b6b92e5e1d77ca6027a1cf1afa01ce197a2d46 /src/core | |
parent | 883bad7ef34c3429b3338d5544a8cdf3b60cd1e8 (diff) | |
download | ComputeLibrary-f33484f48fa87f70f3368289bcfc3e64349a718f.tar.gz |
COMPMID-2336: Guard quint8 gemm files for aarch64 only.
gemm_quint8 is only supported for 64-bit thus guarding to avoid any
build related issues.
Change-Id: Id8784dbacc467780318bd340f895a5abbd383182
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1638
Reviewed-by: Pablo Marquez <pablo.tello@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/NEON/kernels/arm_gemm/gemm_quint8.cpp | 4 | ||||
-rw-r--r-- | src/core/NEON/kernels/arm_gemm/quantized.cpp | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/core/NEON/kernels/arm_gemm/gemm_quint8.cpp b/src/core/NEON/kernels/arm_gemm/gemm_quint8.cpp index 2c4af7a2b3..a402332552 100644 --- a/src/core/NEON/kernels/arm_gemm/gemm_quint8.cpp +++ b/src/core/NEON/kernels/arm_gemm/gemm_quint8.cpp @@ -21,6 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ +#ifdef __aarch64__ + #include "arm_gemm.hpp" #include "kernels/a64_hybrid_u8u32_dot_16x4.hpp" @@ -99,3 +101,5 @@ template KernelDescription get_gemm_method<uint8_t, uint8_t, ARequantizeLayer32> template std::vector<KernelDescription> get_compatible_kernels<uint8_t, uint8_t, ARequantizeLayer32>(const GemmArgs<uint8_t> &args, const ARequantizeLayer32 &os); } // namespace arm_gemm + +#endif // __aarch64__ diff --git a/src/core/NEON/kernels/arm_gemm/quantized.cpp b/src/core/NEON/kernels/arm_gemm/quantized.cpp index dd4eb31ea3..a51ed3f82a 100644 --- a/src/core/NEON/kernels/arm_gemm/quantized.cpp +++ b/src/core/NEON/kernels/arm_gemm/quantized.cpp @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ +#ifdef __aarch64__ #include "arm_gemm.hpp" @@ -767,3 +768,5 @@ template void compute_col_sums(const ARequantizeLayer32 &qp, unsigned int width, template void compute_col_sums(const ARequantizeLayer32 &qp, unsigned int width, unsigned int height, const uint8_t *input, unsigned int in_stride, int32_t *col_bias, unsigned int depth, unsigned int first_col); } // namespace arm_gemm + +#endif // __aarch64__ |