Opened 12 years ago
Closed 12 years ago
#1315 closed Defect (fixed)
Do FP benchmarks using VFP or Neon hardware if present
| Reported by: | davea | Owned by: | carlgt1 | 
|---|---|---|---|
| Priority: | Minor | Milestone: | Undetermined | 
| Component: | Manager - Android | Version: | 7.2.4 | 
| Keywords: | Cc: | 
Description
Attachments (5)
Change History (9)
comment:1 Changed 12 years ago by
| Owner: | changed from Joachim to carlgt1 | 
|---|
comment:2 Changed 12 years ago by
Changed 12 years ago by
| Attachment: | benchmarks.2.zip added | 
|---|
vfp, neon, and normal android benchmark builds
comment:3 Changed 12 years ago by
can branch off in benchmarks (cs_benchmark.cpp) for Android via gstate.host_info.p_features, if strstr(neon) load the neon .so, strstr(vfp) load android-bench-vfp.so etc
Changed 12 years ago by
| Attachment: | arm_fp.zip added | 
|---|
final zip of changed files to add ARM Neon/VFP support to BOINC client benchmarks
Changed 12 years ago by
| Attachment: | arm_fp.patch added | 
|---|
git patch file - still need to figure out the AM_CONDITIONAL in configure.ac & client/Makefile.am for Android builds
comment:4 Changed 12 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Changed 12 years ago by
| Attachment: | boinc_android_fp.zip added | 
|---|
final fix - just five files (configure.ac in root boinc/, and in boinc/client: Makefile.am, whetstone.h/.cpp, cs_benchmark.cpp

vfp or neon listed in /proc/cpuinfo e.g.:
# cat /proc/cpuinfo Processor : ARMv7 Processor rev 3 (v7l) BogoMIPS : 249.96 Features : swp half thumb fastmult vfp edsp neon vfpv3 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x1 CPU part : 0xc08 CPU revision : 3 [ ... ] If the "Features" line lists at least vfp, then the ARM SoC has an FPU.