From df3b5bb87296fdcde8ef88153f6365d693e80295 Mon Sep 17 00:00:00 2001 From: Pablo Tello Date: Tue, 9 Oct 2018 10:51:51 +0100 Subject: COMPMID-1630: Fixed broken DOTPROD detection. Change-Id: Ic857b938130c3d8713c9b414249cfabdcf846c2b Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/152451 Tested-by: bsgcomp Reviewed-by: Vidhya Sudhan Loganathan --- src/runtime/CPUUtils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/CPUUtils.cpp b/src/runtime/CPUUtils.cpp index 0e1f3353a6..f8feb33838 100644 --- a/src/runtime/CPUUtils.cpp +++ b/src/runtime/CPUUtils.cpp @@ -320,10 +320,12 @@ void get_cpu_configuration(CPUInfo &cpuinfo) hwcaps_fp16_support = true; } +#if defined(__aarch64__) if((hwcaps & HWCAP_ASIMDDP) != 0) { hwcaps_dot_support = true; } +#endif /* defined(__aarch64__) */ const unsigned int max_cpus = get_max_cpus(); cpuinfo.set_cpu_num(max_cpus); -- cgit v1.2.1