diff options
author | Pablo Tello <pablo.tello@arm.com> | 2018-10-09 10:51:51 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:55:21 +0000 |
commit | df3b5bb87296fdcde8ef88153f6365d693e80295 (patch) | |
tree | d58a99b90fb1f429d9dbe55017978047e84d42df /src/runtime | |
parent | e95c206df8f8eac0b81f42526e5828b557172c16 (diff) | |
download | ComputeLibrary-df3b5bb87296fdcde8ef88153f6365d693e80295.tar.gz |
COMPMID-1630: Fixed broken DOTPROD detection.
Change-Id: Ic857b938130c3d8713c9b414249cfabdcf846c2b
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/152451
Tested-by: bsgcomp <bsgcomp@arm.com>
Reviewed-by: Vidhya Sudhan Loganathan <vidhyasudhan.loganathan@arm.com>
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/CPUUtils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |