aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/arm_gemm/gemm_quint8.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/gemm_quint8.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/gemm_quint8.cpp')
-rw-r--r--src/core/NEON/kernels/arm_gemm/gemm_quint8.cpp4
1 files changed, 4 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__