diff options
author | Pablo Marquez Tello <pablo.tello@arm.com> | 2022-01-21 15:25:27 +0000 |
---|---|---|
committer | Pablo Marquez Tello <pablo.tello@arm.com> | 2022-01-24 15:18:00 +0000 |
commit | 639f0f665b4346d287014adc99e14a8497aadf18 (patch) | |
tree | 5d715e951fad53e5eb6ce83a366cfafd8caba2a8 /src/runtime/CPP | |
parent | 8a9a0fbf6509159cbb8721500517a1497c390f27 (diff) | |
download | ComputeLibrary-639f0f665b4346d287014adc99e14a8497aadf18.tar.gz |
Fix CPU detection code on Macos
* Query the number of cpus on the system via sysctl and set
CpuInfo accordingly
* Query support for fp16 via sysctlbyname and use this to update
isainfo
* Resolves MLCE-746
Change-Id: I4ad802435c21ee238bff0344af1d7a1ce2479ac5
Signed-off-by: Pablo Marquez Tello <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6989
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Reviewed-by: SiCong Li <sicong.li@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CPP')
0 files changed, 0 insertions, 0 deletions