arm-compute-library: bump SRCREV and add benchmark test group.
PATCH 1/1 arm-compute-library: bump SRCREV and add benchmark test group.
updated to the latest version of 18.08
updated to generate versioned library
added benchmark preset group for squeezenet and inceptionnet
--- .../0001-add-ti-benchmark-test-group.patch | 62 +++++++++++++++++++ .../0002-add-ti-benchmark-test-group.patch | 72 ++++++++++++++++++++++ .../0003-add-ti-benchmark-test-group.patch | 40 ++++++++++++ .../0004-add-ti-benchmark-test-group.patch | 47 ++++++++++++++ .../0005-add-ti-benchmark-test-group.patch | 44 +++++++++++++ .../0006-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0007-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0008-add-ti-benchmark-test-group.patch | 29 +++++++++ .../0009-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0010-add-ti-benchmark-test-group.patch | 48 +++++++++++++++ .../0011-add-ti-benchmark-test-group.patch | 35 +++++++++++ .../arm-compute-library/arm-compute-library_git.bb | 32 ++++++---- 12 files changed, 524 insertions(+), 11 deletions(-) create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0001-add-ti-benchmark-test-group.patch create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0002-add-ti-benchmark-test-group.patch create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0003-add-ti-benchmark-test-group.patch create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0004-add-ti-benchmark-test-group.patch create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0005-add-ti-benchmark-test-group.patch create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0006-add-ti-benchmark-test-group.patch create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0007-add-ti-benchmark-test-group.patch create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0008-add-ti-benchmark-test-group.patch create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0009-add-ti-benchmark-test-group.patch create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0010-add-ti-benchmark-test-group.patch create mode 100755 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0011-add-ti-benchmark-test-group.patch
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0001-add-ti-benchmark-test-group.patch new file +62 -0
@@ -0,0 +1,62 @@ +From f02849bb2c99ae15a1f1a1f0df52010f2083120b Mon Sep 17 00:00:00 2001 +From: Qin Su <[email protected]> +Date: Tue, 23 Oct 2018 10:25:50 -0400 +Subject: [PATCH] add ti benchmark test group + +Signed-off-by: Qin Su <[email protected]> +--- + .../squeezenet/SqueezeNetActivationLayerDataset.h | 35 ++++++++++++++++++++++ + 1 file changed, 35 insertions(+) + mode change 100644 => 100755 tests/datasets/system_tests/squeezenet/SqueezeNetActivationLayerDataset.h + +diff --git a/tests/datasets/system_tests/squeezenet/SqueezeNetActivationLayerDataset.h b/tests/datasets/system_tests/squeezenet/SqueezeNetActivationLayerDataset.h +old mode 100644 +new mode 100755 +index 7f4bf4d..a66f473 +--- a/tests/datasets/system_tests/squeezenet/SqueezeNetActivationLayerDataset.h ++++ b/tests/datasets/system_tests/squeezenet/SqueezeNetActivationLayerDataset.h +@@ -71,6 +71,41 @@ public: + SqueezeNetActivationLayerDataset(SqueezeNetActivationLayerDataset &&) = default; + ~SqueezeNetActivationLayerDataset() = default; + }; ++class TISqueezeNetActivationLayerDataset final : public ++ framework::dataset::CartesianProductDataset<framework::dataset::InitializerListDataset<TensorShape>, framework::dataset::SingletonDataset<ActivationLayerInfo>> ++{ ++public: ++ TISqueezeNetActivationLayerDataset() ++ : CartesianProductDataset ++ { ++ framework::dataset::make("Shape", { // relu_conv1 ++ TensorShape(114U, 114U, 64U), ++ // fire2/relu_squeeze1x1, fire3/relu_squeeze1x1 ++ TensorShape(57U, 57U, 16U), ++ // fire2/relu_expand1x1, fire2/relu_expand3x3, fire3/relu_expand1x1, fire3/relu_expand3x3 ++ TensorShape(57U, 57U, 64U), ++ // fire4/relu_squeeze1x1, fire5/relu_squeeze1x1 ++ TensorShape(28U, 28U, 32U), ++ // fire4/relu_expand1x1, fire4/relu_expand3x3, fire5/relu_expand1x1, fire5/relu_expand3x3 ++ TensorShape(28U, 28U, 128U), ++ // fire6/relu_squeeze1x1, fire7/relu_squeeze1x1 ++ TensorShape(14U, 14U, 48U), ++ // fire6/relu_expand1x1, fire6/relu_expand3x3, fire7/relu_expand1x1, fire7/relu_expand3x3 ++ TensorShape(14U, 14U, 192U), ++ // fire8/relu_squeeze1x1, fire9/relu_squeeze1x1 ++ TensorShape(14U, 14U, 64U), ++ // fire8/relu_expand1x1, fire8/relu_expand3x3, fire9/relu_expand1x1, fire9/relu_expand3x3 ++ TensorShape(14U, 14U, 256U), ++ // relu_conv10 ++ TensorShape(14U, 14U, 1000U) }), ++ framework::dataset::make("Info", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU)) ++ } ++ { ++ } ++ TISqueezeNetActivationLayerDataset(TISqueezeNetActivationLayerDataset &&) = default; ++ ~TISqueezeNetActivationLayerDataset() = default; ++}; ++ + } // namespace datasets + } // namespace test + } // namespace arm_compute +-- +1.9.1 +
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0002-add-ti-benchmark-test-group.patch new file +72 -0
72 lines not on this page · raw message
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0003-add-ti-benchmark-test-group.patch new file +40 -0
@@ -0,0 +1,40 @@ +From b5cd4e25e6bf75e7c1c01b049cb4f3c8312cf3c4 Mon Sep 17 00:00:00 2001 +From: Qin Su <[email protected]> +Date: Tue, 23 Oct 2018 10:28:26 -0400 +Subject: [PATCH] add ti benchmark test group + +Signed-off-by: Qin Su <[email protected]> +--- + .../system_tests/squeezenet/SqueezeNetPoolingLayerDataset.h | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + mode change 100644 => 100755 tests/datasets/system_tests/squeezenet/SqueezeNetPoolingLayerDataset.h + +diff --git a/tests/datasets/system_tests/squeezenet/SqueezeNetPoolingLayerDataset.h b/tests/datasets/system_tests/squeezenet/SqueezeNetPoolingLayerDataset.h +old mode 100644 +new mode 100755 +index 9518ce5..a168d29 +--- a/tests/datasets/system_tests/squeezenet/SqueezeNetPoolingLayerDataset.h ++++ b/tests/datasets/system_tests/squeezenet/SqueezeNetPoolingLayerDataset.h +@@ -50,6 +50,19 @@ public: + add_config(TensorShape(27U, 27U, 256U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); + } + }; ++class TISqueezeNetPoolingLayerDataset final : public PoolingLayerDataset ++{ ++public: ++ TISqueezeNetPoolingLayerDataset() ++ { ++ // pool1 ++ add_config(TensorShape(114U, 114U, 64U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); ++ // pool3 ++ add_config(TensorShape(57U, 57U, 128U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); ++ // pool5 ++ add_config(TensorShape(28U, 28U, 256U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); ++ } ++}; + } // namespace datasets + } // namespace test + } // namespace arm_compute +-- +1.9.1 +
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0004-add-ti-benchmark-test-group.patch new file +47 -0
47 lines not on this page · raw message
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0005-add-ti-benchmark-test-group.patch new file +44 -0
44 lines not on this page · raw message
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0006-add-ti-benchmark-test-group.patch new file +42 -0
42 lines not on this page · raw message
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0007-add-ti-benchmark-test-group.patch new file +42 -0
42 lines not on this page · raw message
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0008-add-ti-benchmark-test-group.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 1e889f937a8a7536ea97a6349d59a20a3a230d75 Mon Sep 17 00:00:00 2001 +From: Qin Su <[email protected]> +Date: Tue, 23 Oct 2018 10:36:57 -0400 +Subject: [PATCH] add ti benchmark test group + +Signed-off-by: Qin Su <[email protected]> +--- + tests/benchmark/NEON/GEMMLowp.cpp | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/tests/benchmark/NEON/GEMMLowp.cpp b/tests/benchmark/NEON/GEMMLowp.cpp +index 4b13f31..c2c6bdf 100644 +--- a/tests/benchmark/NEON/GEMMLowp.cpp ++++ b/tests/benchmark/NEON/GEMMLowp.cpp +@@ -50,6 +50,11 @@ REGISTER_FIXTURE_DATA_TEST_CASE(MatrixMultiplyGEMMLowp, NEGEMMLowpFixture, frame + REGISTER_FIXTURE_DATA_TEST_CASE(GoogleNetGEMMLowp, NEGEMMLowpFixture, framework::DatasetMode::NIGHTLY, datasets::GoogleNetGEMMDataset()); + + TEST_SUITE_END() ++ ++TEST_SUITE(TIBENCHMARK_INCEPTIONNET) ++REGISTER_FIXTURE_DATA_TEST_CASE(GoogLeNetInceptionV1GEMMLowp, NEGEMMLowpFixture, framework::DatasetMode::ALL, datasets::GoogLeNetInceptionV1GEMMDataset()); ++TEST_SUITE_END() ++ + } // namespace benchmark + } // namespace test + } // namespace arm_compute +-- +1.9.1 +
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0009-add-ti-benchmark-test-group.patch new file +42 -0
42 lines not on this page · raw message
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0010-add-ti-benchmark-test-group.patch new file +48 -0
48 lines not on this page · raw message
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0011-add-ti-benchmark-test-group.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 01161226c58ff48728dad53ed8fa04a0c534bfa5 Mon Sep 17 00:00:00 2001 +From: Qin Su <[email protected]> +Date: Wed, 24 Oct 2018 16:10:11 -0400 +Subject: [PATCH] add ti benchmark test group + +Signed-off-by: Qin Su <[email protected]> +--- + tests/framework/printers/PrettyPrinter.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/framework/printers/PrettyPrinter.cpp b/tests/framework/printers/PrettyPrinter.cpp +index 3181951..2222286 100644 +--- a/tests/framework/printers/PrettyPrinter.cpp ++++ b/tests/framework/printers/PrettyPrinter.cpp +@@ -83,7 +83,7 @@ void PrettyPrinter::print_run_footer() + + void PrettyPrinter::print_test_header(const TestInfo &info) + { +- *_stream << begin_color("2") << "Running [" << info.id << "] '" << info.name << "'" << end_color() << "\n"; ++ *_stream << begin_color("2") << "Running [" << info.id << "] '" << info.name << "'" << end_color() << " "; + } + + void PrettyPrinter::print_test_footer() +@@ -125,7 +125,7 @@ void PrettyPrinter::print_measurements(const Profiler::MeasurementsMap &measurem + InstrumentsStats stats(instrument.second); + + *_stream << " "; +- *_stream << "AVG=" << stats.mean() << " " << stats.max().unit(); ++ *_stream << "AVG= " << stats.mean() << " " << stats.max().unit(); + if(instrument.second.size() > 1) + { + *_stream << ", STDDEV=" << arithmetic_to_string(stats.relative_standard_deviation(), 2) << " %"; +-- +1.9.1 +
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +21 -11
@@ -1,18 +1,30 @@ SUMMARY = "The ARM Computer Vision and Machine Learning library" DESCRIPTION = "The ARM Computer Vision and Machine Learning library is a set of functions optimised for both ARM CPUs and GPUs." LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c93841b20cd522af621cabaea3aef8" +LIC_FILES_CHKSUM = "file://LICENSE;md5=762a7ba8d2ddc3b38d88742fbaf0b62d" -COMPATIBLE_MACHINE = "armv7a" +COMPATIBLE_MACHINE = "armv7a|aarch64" SRC_URI = " \ git://github.com/ARM-software/ComputeLibrary.git;branch=${BRANCH} \ + file://0001-add-ti-benchmark-test-group.patch \ + file://0002-add-ti-benchmark-test-group.patch \ + file://0003-add-ti-benchmark-test-group.patch \ + file://0004-add-ti-benchmark-test-group.patch \ + file://0005-add-ti-benchmark-test-group.patch \ + file://0006-add-ti-benchmark-test-group.patch \ + file://0007-add-ti-benchmark-test-group.patch \ + file://0008-add-ti-benchmark-test-group.patch \ + file://0009-add-ti-benchmark-test-group.patch \ + file://0010-add-ti-benchmark-test-group.patch \ + file://0011-add-ti-benchmark-test-group.patch \ " -PV = "18.05" +PV = "18.08" +PV_MAJOR = "${@d.getVar('PV',d,1).split('.')[0]}" BRANCH = "master" -SRCREV = "e2542c9f35ca427286822cd0c9296f49914f78b0" +SRCREV = "52ba29e936b8e711e8acdfe819e36f884d4f3fe1" S = "${WORKDIR}/git"
@@ -22,7 +34,8 @@ do_compile_prepend() { inherit scons -EXTRA_OESCONS = "arch=armv7a extra_cxx_flags="-fPIC" benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0" +EXTRA_OESCONS = "arch=armv7a extra_cxx_flags="-fPIC" benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0 set_soname=1" +EXTRA_OESCONS_aarch64 = "arch=arm64-v8a extra_cxx_flags="-fPIC" benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0 set_soname=1" LIBS += "-larmpl_lp64_mp"
@@ -30,7 +43,7 @@ do_install() { CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" install -m 0755 -d ${D}${libdir} - for lib in ${S}/build/*.so + for lib in ${WORKDIR}/git/build/*.so* do install -m 0755 $lib ${D}${libdir} done
@@ -45,14 +58,11 @@ do_install() { cp $CP_ARGS ${S}/. ${D}${datadir}/${BPN} } -SOLIBS = ".so" -FILES_SOLIBSDEV = "" -INSANE_SKIP_${PN} = "ldflags" +INSANE_SKIP_${PN} = "ldflags dev-so" INSANE_SKIP_${PN}-dev = "dev-elf ldflags" -PACKAGES =+ "${PN}-source" FILES_${PN} += "${bindir}/*" -FILES_${PN} += "${libdir}/*.so" +FILES_${PN} += "${libdir}/*.so*" FILES_${PN}-source = "${datadir}/${BPN}" INSANE_SKIP_${PN}-source = "ldflags libdir staticdev" INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
Signature · 1 line
1.9.1
Quoted 3 lines · Qin Su
updated to the latest version of 18.08
updated to generate versioned library
added benchmark preset group for squeezenet and inceptionnet
Upstream-Status is missing for all the new pathces.
Also see below.
Quoted 15 lines
Signed-off-by Qin Su <[email protected]>--- .../0001-add-ti-benchmark-test-group.patch | 62 +++++++++++++++++++ .../0002-add-ti-benchmark-test-group.patch | 72 ++++++++++++++++++++++ .../0003-add-ti-benchmark-test-group.patch | 40 ++++++++++++ .../0004-add-ti-benchmark-test-group.patch | 47 ++++++++++++++ .../0005-add-ti-benchmark-test-group.patch | 44 +++++++++++++ .../0006-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0007-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0008-add-ti-benchmark-test-group.patch | 29 +++++++++ .../0009-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0010-add-ti-benchmark-test-group.patch | 48 +++++++++++++++ .../0011-add-ti-benchmark-test-group.patch | 35 +++++++++++ .../arm-compute-library/arm-compute-library_git.bb | 32 ++++++---- 12 files changed, 524 insertions(+), 11 deletions(-)
[snip]
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb line 4
Quoted 10 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +1
-1@@ -1,18 +1,30 @@ SUMMARY = "The ARM Computer Vision and Machine Learning library" DESCRIPTION = "The ARM Computer Vision and Machine Learning library is a set of functions optimised for both ARM CPUs and GPUs." LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c93841b20cd522af621cabaea3aef8" +LIC_FILES_CHKSUM = "file://LICENSE;md5=762a7ba8d2ddc3b38d88742fbaf0b62d"
Please explain license change.
Quoted 39 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +17
-4-COMPATIBLE_MACHINE = "armv7a" +COMPATIBLE_MACHINE = "armv7a|aarch64" SRC_URI = " \ git://github.com/ARM-software/ComputeLibrary.git;branch=${BRANCH} \ + file://0001-add-ti-benchmark-test-group.patch \ + file://0002-add-ti-benchmark-test-group.patch \ + file://0003-add-ti-benchmark-test-group.patch \ + file://0004-add-ti-benchmark-test-group.patch \ + file://0005-add-ti-benchmark-test-group.patch \ + file://0006-add-ti-benchmark-test-group.patch \ + file://0007-add-ti-benchmark-test-group.patch \ + file://0008-add-ti-benchmark-test-group.patch \ + file://0009-add-ti-benchmark-test-group.patch \ + file://0010-add-ti-benchmark-test-group.patch \ + file://0011-add-ti-benchmark-test-group.patch \ " -PV = "18.05" +PV = "18.08" +PV_MAJOR = "${@d.getVar('PV',d,1).split('.')[0]}" BRANCH = "master" -SRCREV = "e2542c9f35ca427286822cd0c9296f49914f78b0" +SRCREV = "52ba29e936b8e711e8acdfe819e36f884d4f3fe1" S = "${WORKDIR}/git"@@ -22,7 +34,8 @@ do_compile_prepend() { inherit scons -EXTRA_OESCONS = "arch=armv7a extra_cxx_flags="-fPIC" benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0" +EXTRA_OESCONS = "arch=armv7a extra_cxx_flags="-fPIC" benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0 set_soname=1" +EXTRA_OESCONS_aarch64 = "arch=arm64-v8a extra_cxx_flags="-fPIC" benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0 set_soname=1" LIBS += "-larmpl_lp64_mp"
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb do_install() { · line 46
Quoted 5 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +1
-1@@ -30,7 +43,7 @@ do_install() { CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" install -m 0755 -d ${D}${libdir} - for lib in ${S}/build/*.so + for lib in ${WORKDIR}/git/build/*.so*
Why this change?
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb do_install() { · line 61
Quoted 11 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +1
-3do install -m 0755 $lib ${D}${libdir} done@@ -45,14 +58,11 @@ do_install() { cp $CP_ARGS ${S}/. ${D}${datadir}/${BPN} } -SOLIBS = ".so" -FILES_SOLIBSDEV = "" -INSANE_SKIP_${PN} = "ldflags" +INSANE_SKIP_${PN} = "ldflags dev-so"
Since you now have "versioned library", you don't need to force *.so into the main package.
Quoted 16 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +1
-2INSANE_SKIP_${PN}-dev = "dev-elf ldflags" -PACKAGES =+ "${PN}-source" FILES_${PN} += "${bindir}/*" -FILES_${PN} += "${libdir}/*.so" +FILES_${PN} += "${libdir}/*.so*" FILES_${PN}-source = "${datadir}/${BPN}" INSANE_SKIP_${PN}-source = "ldflags libdir staticdev" INHIBIT_PACKAGE_DEBUG_SPLIT = "1"Signature · 6 lines
1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 10 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, November 19, 2018 3:19 PM
To: Su, Qin
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] arm-compute-library: bump SRCREV and add benchmark test group.
Quoted 7 lines
Quoted 2 lines · Qin Su
updated to the latest version of 18.08 updated to generate versioned library added benchmark preset group for squeezenet and inceptionnet
Upstream-Status is missing for all the new pathces.
Also see below.
Fixed in patch v2
Quoted 37 lines
Quoted 4 lines
Signed-off-by Qin Su <[email protected]>--- .../0001-add-ti-benchmark-test-group.patch | 62+++++++++++++++++++
Quoted 1 line
.../0002-add-ti-benchmark-test-group.patch | 72++++++++++++++++++++++
Quoted 11 lines
.../0003-add-ti-benchmark-test-group.patch | 40 ++++++++++++ .../0004-add-ti-benchmark-test-group.patch | 47 ++++++++++++++ .../0005-add-ti-benchmark-test-group.patch | 44 +++++++++++++ .../0006-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0007-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0008-add-ti-benchmark-test-group.patch | 29 +++++++++ .../0009-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0010-add-ti-benchmark-test-group.patch | 48 +++++++++++++++ .../0011-add-ti-benchmark-test-group.patch | 35 +++++++++++ .../arm-compute-library/arm-compute-library_git.bb | 32 ++++++---- 12 files changed, 524 insertions(+), 11 deletions(-)[snip]
Quoted 10 lines
diff --git a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-li brary_git.bb b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-li brary_git.bb
index 8a65ade..fc038f9 100644
---
a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-li brary_git.bb
+++ b/meta-arago-extras/recipes-support/arm-compute-library/arm-comput
Review line 2
Quoted 4 lines
+++ e-library_git.bb
(quoted diff) +0
-0@@ -1,18 +1,30 @@ SUMMARY = "The ARM Computer Vision and Machine Learning library" DESCRIPTION = "The ARM Computer Vision and Machine Learning library isa set of functions optimised for both ARM CPUs and GPUs."
Quoted 7 lines
Review line 4
Quoted 2 lines
(quoted diff) +0
-1LICENSE = "MIT" -LIC_FILES_CHKSUM ="file://LICENSE;md5=e2c93841b20cd522af621cabaea3aef8"
Review line 4
Quoted 1 line
(quoted diff) +1
-0+LIC_FILES_CHKSUM ="file://LICENSE;md5=762a7ba8d2ddc3b38d88742fbaf0b62d"
Please explain license change.
The Copyright was updated from 2017 to 2017-2018 in LICENSE file.
Quoted 46 lines
Quoted 32 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +15
-3-COMPATIBLE_MACHINE = "armv7a" +COMPATIBLE_MACHINE = "armv7a|aarch64" SRC_URI = " \ git://github.com/ARM-software/ComputeLibrary.git;branch=${BRANCH} \ + file://0001-add-ti-benchmark-test-group.patch \ + file://0002-add-ti-benchmark-test-group.patch \ + file://0003-add-ti-benchmark-test-group.patch \ + file://0004-add-ti-benchmark-test-group.patch \ + file://0005-add-ti-benchmark-test-group.patch \ + file://0006-add-ti-benchmark-test-group.patch \ + file://0007-add-ti-benchmark-test-group.patch \ + file://0008-add-ti-benchmark-test-group.patch \ + file://0009-add-ti-benchmark-test-group.patch \ + file://0010-add-ti-benchmark-test-group.patch \ + file://0011-add-ti-benchmark-test-group.patch \ " -PV = "18.05" +PV = "18.08" +PV_MAJOR = "${@d.getVar('PV',d,1).split('.')[0]}" BRANCH = "master" -SRCREV = "e2542c9f35ca427286822cd0c9296f49914f78b0" +SRCREV = "52ba29e936b8e711e8acdfe819e36f884d4f3fe1" S = "${WORKDIR}/git"meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb do_compile_prepend() { · line 25
Quoted 4 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +0
-1@@ -22,7 +34,8 @@ do_compile_prepend() { inherit scons -EXTRA_OESCONS = "arch=armv7a extra_cxx_flags="-fPIC"benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0"
Review do_compile_prepend() { · line 37
Quoted 1 line
(quoted diff) +1
-0+EXTRA_OESCONS = "arch=armv7a extra_cxx_flags="-fPIC"benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0 set_soname=1"
Review do_compile_prepend() { · line 38
Quoted 1 line
(quoted diff) +1
-0+EXTRA_OESCONS_aarch64 = "arch=arm64-v8a extra_cxx_flags="-fPIC"benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0 set_soname=1"
Quoted 3 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +0
-0LIBS += "-larmpl_lp64_mp"
Quoted 9 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb do_install() { · line 46
Quoted 6 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +1
-1@@ -30,7 +43,7 @@ do_install() { CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" install -m 0755 -d ${D}${libdir} - for lib in ${S}/build/*.so + for lib in ${WORKDIR}/git/build/*.so*Why this change?
Unnecessary change, revised back in patch v2
Quoted 7 lines
Quoted 7 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +0
-0do install -m 0755 $lib ${D}${libdir} done@@ -45,14 +58,11 @@ do_install() { cp $CP_ARGS ${S}/. ${D}${datadir}/${BPN} }
Quoted 8 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb do_install() { · line 61
Quoted 4 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +1
-3-SOLIBS = ".so" -FILES_SOLIBSDEV = "" -INSANE_SKIP_${PN} = "ldflags" +INSANE_SKIP_${PN} = "ldflags dev-so"Since you now have "versioned library", you don't need to force *.so into the main package.
Fixed in patch v2
Quoted 17 lines
Quoted 17 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +1
-3INSANE_SKIP_${PN}-dev = "dev-elf ldflags" -PACKAGES =+ "${PN}-source" FILES_${PN} += "${bindir}/*" -FILES_${PN} += "${libdir}/*.so" +FILES_${PN} += "${libdir}/*.so*" FILES_${PN}-source = "${datadir}/${BPN}" INSANE_SKIP_${PN}-source = "ldflags libdir staticdev" INHIBIT_PACKAGE_DEBUG_SPLIT = "1" --1.9.1
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 59 lines · Qin
Quoted 10 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, November 19, 2018 3:19 PM
To: Su, Qin
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] arm-compute-library: bump SRCREV and add benchmark test group.Quoted 7 lines
Quoted 2 lines · Qin Su
updated to the latest version of 18.08 updated to generate versioned library added benchmark preset group for squeezenet and inceptionnet
Upstream-Status is missing for all the new pathces.
Also see below.
Fixed in patch v2
Quoted 39 lines
Quoted 4 lines
Signed-off-by Qin Su <[email protected]>--- .../0001-add-ti-benchmark-test-group.patch | 62+++++++++++++++++++
Quoted 1 line
.../0002-add-ti-benchmark-test-group.patch | 72++++++++++++++++++++++
Quoted 11 lines
.../0003-add-ti-benchmark-test-group.patch | 40 ++++++++++++ .../0004-add-ti-benchmark-test-group.patch | 47 ++++++++++++++ .../0005-add-ti-benchmark-test-group.patch | 44 +++++++++++++ .../0006-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0007-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0008-add-ti-benchmark-test-group.patch | 29 +++++++++ .../0009-add-ti-benchmark-test-group.patch | 42 +++++++++++++ .../0010-add-ti-benchmark-test-group.patch | 48 +++++++++++++++ .../0011-add-ti-benchmark-test-group.patch | 35 +++++++++++ .../arm-compute-library/arm-compute-library_git.bb | 32 ++++++---- 12 files changed, 524 insertions(+), 11 deletions(-)[snip]
Quoted 10 lines
diff --git a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-li brary_git.bb b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-li brary_git.bb
index 8a65ade..fc038f9 100644
---
a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-li brary_git.bb
+++ b/meta-arago-extras/recipes-support/arm-compute-library/arm-comput
Review line 2
Quoted 4 lines
+++ e-library_git.bb
(quoted diff) +0
-0@@ -1,18 +1,30 @@ SUMMARY = "The ARM Computer Vision and Machine Learning library" DESCRIPTION = "The ARM Computer Vision and Machine Learning library isa set of functions optimised for both ARM CPUs and GPUs."
Quoted 2 lines
(quoted diff) +0
-1LICENSE = "MIT" -LIC_FILES_CHKSUM =
Quoted 7 lines
Quoted 5 lines
"file://LICENSE;md5=e2c93841b20cd522af621cabaea3aef8"
Review line 4
Quoted 1 line
(quoted diff) +1
-0+LIC_FILES_CHKSUM ="file://LICENSE;md5=762a7ba8d2ddc3b38d88742fbaf0b62d"
Please explain license change.
The Copyright was updated from 2017 to 2017-2018 in LICENSE file.
In the commit log, please.
Quoted 91 lines
Quoted 44 lines
Quoted 30 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +15
-3-COMPATIBLE_MACHINE = "armv7a" +COMPATIBLE_MACHINE = "armv7a|aarch64" SRC_URI = " \ git://github.com/ARM-software/ComputeLibrary.git;branch=${BRANCH} \ + file://0001-add-ti-benchmark-test-group.patch \ + file://0002-add-ti-benchmark-test-group.patch \ + file://0003-add-ti-benchmark-test-group.patch \ + file://0004-add-ti-benchmark-test-group.patch \ + file://0005-add-ti-benchmark-test-group.patch \ + file://0006-add-ti-benchmark-test-group.patch \ + file://0007-add-ti-benchmark-test-group.patch \ + file://0008-add-ti-benchmark-test-group.patch \ + file://0009-add-ti-benchmark-test-group.patch \ + file://0010-add-ti-benchmark-test-group.patch \ + file://0011-add-ti-benchmark-test-group.patch \ " -PV = "18.05" +PV = "18.08" +PV_MAJOR = "${@d.getVar('PV',d,1).split('.')[0]}" BRANCH = "master" -SRCREV = "e2542c9f35ca427286822cd0c9296f49914f78b0" +SRCREV = "52ba29e936b8e711e8acdfe819e36f884d4f3fe1" S = "${WORKDIR}/git"meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb do_compile_prepend() { · line 25
Quoted 4 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +0
-1@@ -22,7 +34,8 @@ do_compile_prepend() { inherit scons -EXTRA_OESCONS = "arch=armv7a extra_cxx_flags="-fPIC"benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0"
Review do_compile_prepend() { · line 37
Quoted 1 line
(quoted diff) +1
-0+EXTRA_OESCONS = "arch=armv7a extra_cxx_flags="-fPIC"benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0 set_soname=1"
Review do_compile_prepend() { · line 38
Quoted 1 line
(quoted diff) +1
-0+EXTRA_OESCONS_aarch64 = "arch=arm64-v8a extra_cxx_flags="-fPIC"benchmark_tests=1 validation_tests=0 neon=1 openmp=1 opencl=0 set_soname=1"
Quoted 3 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +0
-0LIBS += "-larmpl_lp64_mp"Quoted 9 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb do_install() { · line 46
Quoted 6 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +1
-1@@ -30,7 +43,7 @@ do_install() { CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" install -m 0755 -d ${D}${libdir} - for lib in ${S}/build/*.so + for lib in ${WORKDIR}/git/build/*.so*Why this change?
Unnecessary change, revised back in patch v2
Quoted 7 lines
Quoted 7 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +0
-0do install -m 0755 $lib ${D}${libdir} done@@ -45,14 +58,11 @@ do_install() { cp $CP_ARGS ${S}/. ${D}${datadir}/${BPN} }Quoted 8 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb do_install() { · line 61
Quoted 4 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +1
-3-SOLIBS = ".so" -FILES_SOLIBSDEV = "" -INSANE_SKIP_${PN} = "ldflags" +INSANE_SKIP_${PN} = "ldflags dev-so"Since you now have "versioned library", you don't need to force *.so into the main package.
Fixed in patch v2
Quoted 17 lines
Quoted 17 lines
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb +1
-3INSANE_SKIP_${PN}-dev = "dev-elf ldflags" -PACKAGES =+ "${PN}-source" FILES_${PN} += "${bindir}/*" -FILES_${PN} += "${libdir}/*.so" +FILES_${PN} += "${libdir}/*.so*" FILES_${PN}-source = "${datadir}/${BPN}" INSANE_SKIP_${PN}-source = "ldflags libdir staticdev" INHIBIT_PACKAGE_DEBUG_SPLIT = "1" --1.9.1
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago