Opened 11 years ago

Closed 11 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)

benchmarks.zip (51.1 KB) - added by carlgt1 11 years ago.
first crack at benchmarks for androiid
benchmarks.2.zip (70.7 KB) - added by carlgt1 11 years ago.
vfp, neon, and normal android benchmark builds
arm_fp.zip (19.7 KB) - added by carlgt1 11 years ago.
final zip of changed files to add ARM Neon/VFP support to BOINC client benchmarks
arm_fp.patch (6.3 KB) - added by carlgt1 11 years ago.
git patch file - still need to figure out the AM_CONDITIONAL in configure.ac & client/Makefile.am for Android builds
boinc_android_fp.zip (19.7 KB) - added by carlgt1 11 years ago.
final fix - just five files (configure.ac in root boinc/, and in boinc/client: Makefile.am, whetstone.h/.cpp, cs_benchmark.cpp

Download all attachments as: .zip

Change History (9)

comment:1 Changed 11 years ago by carlgt1

Owner: changed from Joachim to carlgt1

comment:2 Changed 11 years ago by carlgt1

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.

Changed 11 years ago by carlgt1

Attachment: benchmarks.zip added

first crack at benchmarks for androiid

Changed 11 years ago by carlgt1

Attachment: benchmarks.2.zip added

vfp, neon, and normal android benchmark builds

comment:3 Changed 11 years ago by carlgt1

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 11 years ago by carlgt1

Attachment: arm_fp.zip added

final zip of changed files to add ARM Neon/VFP support to BOINC client benchmarks

Changed 11 years ago by carlgt1

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 11 years ago by carlgt1

Resolution: fixed
Status: newclosed

Changed 11 years ago by carlgt1

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

Note: See TracTickets for help on using tickets.