CPUInfo::get().has_fp16() returns true on RaspberryPi 4
alvoron opened this issue · 3 comments
alvoron commented
Platform: Raspberry Pi4
ACL version: 24.02
ACL build command: scons arch=armv7a neon=1 os=linux opencl=0 build=native -j 4 Werror=false fixed_format_kernels=1 multi_isa=0 openmp=0 cppthreads=1
CPUInfo::get().has_fp16()
returns true on RaspberryPi 4 (Cortex-A72). I believe, it should be false.
alvoron commented
UPD: The issue is reproducible on 32-bit Debian 11 and not reproducible on 64-bit Debian 11.
morgolock commented
Hi @alvoron
Please see the following patch fixing the problem: https://review.mlplatform.org/c/ml/ComputeLibrary/+/11242
Hope this helps
alvoron commented
@morgolock I implemented the same approach in our code :)
As soon as the fix is included in ACL release I'll upgrade ACL version and remove our custom code.
Thank you.