aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/arm_gemm/quantized.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-07-29 12:40:59 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-07-29 13:01:43 +0000
commitf33484f48fa87f70f3368289bcfc3e64349a718f (patch)
tree24b6b92e5e1d77ca6027a1cf1afa01ce197a2d46 /src/core/NEON/kernels/arm_gemm/quantized.cpp
parent883bad7ef34c3429b3338d5544a8cdf3b60cd1e8 (diff)
downloadComputeLibrary-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/NEON/kernels/arm_gemm/quantized.cpp')
-rw-r--r--src/core/NEON/kernels/arm_gemm/quantized.cpp3
1 files changed, 3 insertions, 0 deletions
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__