aboutsummaryrefslogtreecommitdiff
path: root/src/common/cpuinfo/CpuModel.cpp
diff options
context:
space:
mode:
authorGunes Bayir <gunes.bayir@arm.com>2021-11-10 14:21:42 +0000
committerGunes Bayir <gunes.bayir@arm.com>2021-11-11 17:29:55 +0000
commit7f014a69b90cbdd6bac11c45cc148fc6d7b79cac (patch)
tree184b7c39747f715af9dc4e96ca7b827b8b4ae009 /src/common/cpuinfo/CpuModel.cpp
parentb6059242ad69103279a9e98ea679947f619b3df6 (diff)
downloadComputeLibrary-7f014a69b90cbdd6bac11c45cc148fc6d7b79cac.tar.gz
Prevent overriding SVE support if disabled in hwcaps
Resolves: COMPMID-4971 Signed-off-by: Gunes Bayir <gunes.bayir@arm.com> Change-Id: I8f64409a4feeb92c0e99025cf87a984a1fa188a3 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6657 Reviewed-by: David Mansell Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/common/cpuinfo/CpuModel.cpp')
-rw-r--r--src/common/cpuinfo/CpuModel.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/common/cpuinfo/CpuModel.cpp b/src/common/cpuinfo/CpuModel.cpp
index 2579057f89..6382ffd5b4 100644
--- a/src/common/cpuinfo/CpuModel.cpp
+++ b/src/common/cpuinfo/CpuModel.cpp
@@ -75,19 +75,6 @@ bool model_supports_dot(CpuModel model)
}
}
-bool model_supports_sve(CpuModel model)
-{
- switch(model)
- {
- case CpuModel::A510:
- case CpuModel::V1:
- case CpuModel::A64FX:
- return true;
- default:
- return false;
- }
-}
-
CpuModel midr_to_model(uint32_t midr)
{
CpuModel model = CpuModel::GENERIC;