Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pytorch/cpuinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarat Dukhan <marat@fb.com>2017-11-30 02:15:36 +0300
committerMarat Dukhan <marat@fb.com>2017-11-30 02:15:36 +0300
commitf3a71e68abc065478780cf4f36bede13cad9e3cf (patch)
treebda99037028d84af71edf64676200670dfb1eda8 /scripts
parent63a7a6b48f72e7eef62522240a39d3bd0eb7fb02 (diff)
Add tool to extract ELF Auxiliary vectors for HWCAPs
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/android-arm64-auxv-dump.sh6
-rwxr-xr-xscripts/android-armv7-auxv-dump.sh6
2 files changed, 12 insertions, 0 deletions
diff --git a/scripts/android-arm64-auxv-dump.sh b/scripts/android-arm64-auxv-dump.sh
new file mode 100755
index 0000000..6c3a0be
--- /dev/null
+++ b/scripts/android-arm64-auxv-dump.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -e
+
+adb push libs/arm64-v8a/auxv-dump /data/local/tmp/auxv-dump
+adb shell /data/local/tmp/auxv-dump
diff --git a/scripts/android-armv7-auxv-dump.sh b/scripts/android-armv7-auxv-dump.sh
new file mode 100755
index 0000000..34c8eef
--- /dev/null
+++ b/scripts/android-armv7-auxv-dump.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -e
+
+adb push libs/armeabi-v7a/auxv-dump /data/local/tmp/auxv-dump
+adb shell /data/local/tmp/auxv-dump