From 20fca524baf99402f742ce38c538f2fd07d5fff9 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Mon, 7 Jun 2021 14:23:57 +0100 Subject: Create core library using high priority operators A smaller core library is created using a subset of the operators. Changed the structure of filelist.json in order to include more information about the kernels and make the selection easier. Resolves: COMPMID-4514 Change-Id: I079ca7d8e64346174eebdd13b834e1dd4dc36ca2 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5786 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins --- src/cpu/CpuContext.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/cpu/CpuContext.h') diff --git a/src/cpu/CpuContext.h b/src/cpu/CpuContext.h index e909767a7b..9a59af39c1 100644 --- a/src/cpu/CpuContext.h +++ b/src/cpu/CpuContext.h @@ -26,6 +26,7 @@ #include "src/common/AllocatorWrapper.h" #include "src/common/IContext.h" +#include "src/common/cpuinfo/CpuInfo.h" namespace arm_compute { @@ -34,17 +35,8 @@ namespace cpu /** Structure that encodes the CPU capabilities to be used */ struct CpuCapabilities { - bool neon{ false }; - bool sve{ false }; - bool sve2{ false }; - - bool fp16{ false }; - bool bf16{ false }; - bool dot{ false }; - bool mmla_int8{ false }; - bool mmla_fp{ false }; - - int32_t max_threads{ -1 }; + cpuinfo::CpuInfo cpu_info{}; + int32_t max_threads{ -1 }; }; /** CPU context implementation class */ -- cgit v1.2.1