platform/upstream/armcl.git
5 years agoIntroduce integrated CL kernel cache feature sandbox/inki.dae/19.11.1.kernel_cache_feature
Inki Dae [Wed, 18 Mar 2020 06:03:38 +0000 (15:03 +0900)]
Introduce integrated CL kernel cache feature

This patch introduces integrated CL kernel cache feature for
NN runtimes such as ARMNN or other in-house versions.

Originally, this feature came from utils/Utils.cpp and utils/Utils.h
files but was used just for the testing.

Caching CL kernel binaries is madatorily required for real product
becasue inference performance at first run is one of very important
factors. This patch exposes two API - save_program_cache_to_file
and resotre_program_cache_from_file so that NN runtimes can use
these API to cache the compiled CL kernel binaries.

In addition, it adds a new map object, _new_built_programs_map,
to manage only newly compiled CL kernel binaries.
With this patch, already compiled kernel binaries will be restored
from existing map object, _built_programs_map, and newly compiled
kernel binaries will be added to _new_built_programs_map, and then
saved to a given file. However, it can bring more latency when loading
the CL kernel bineries from a given file in case that many binary pieces
- cl caches - are stacked on the file so separeate them different files,
which depends on NN runtime policy.

Changelog v1.
- Reordered including headers suggested by Manuel Bottini.
- Updated description.
Changelog v2.
- Drop function descriptions.
Changelog v3.
- FIx build error with openlcl = 0. As for this, it moves two functions,
  save_program_cache_to_file and restore_program_cache_from_file,
  to src/runtime/CL/Utils.cpp and arm_compute/runtime/CL/Utils.h,
  and set ARM_COMPUTE_CL flag only when opencl = 1.
  This change makes CL kernel cache feature to depend on OpenCL support.

Change-Id: I8c640fb1809ca79191daf5b1ff72a50dd492c36d
Signed-off-by: Inki Dae <inki.dae@samsung.com>
5 years agopackaging: add Tizen platform support 50/228150/1 accepted/tizen/unified/20200320.074759 submit/tizen/20200319.234951
Inki Dae [Thu, 19 Mar 2020 07:44:32 +0000 (16:44 +0900)]
packaging: add Tizen platform support

This patch adds toolchain support for Tizen.

Change-Id: Ieb72a2995592aa13bb7fe6621b3db4ecf2b10931
Signed-off-by: Inki Dae <inki.dae@samsung.com>
5 years agoRevert "Fix toolchain name for Tizen build" 49/228149/1
Inki Dae [Thu, 19 Mar 2020 05:16:08 +0000 (14:16 +0900)]
Revert "Fix toolchain name for Tizen build"

This reverts commit 9ca781ab10eb319280f4c6873cb58241075d9725.

Change-Id: Ifcbf4179517cc5613f01def8df85d35b815abebd
Signed-off-by: Inki Dae <inki.dae@samsung.com>
5 years agoFix version accepted/tizen/unified/20200309.124343 submit/tizen/20200306.013914 submit/tizen/20200308.233815
Inki Dae [Fri, 21 Feb 2020 07:31:34 +0000 (16:31 +0900)]
Fix version

Change-Id: I14aa4ffe18ed5ae7e59ebe46d78a7ec6bce98ca6
Signed-off-by: Inki Dae <inki.dae@samsung.com>
5 years agoDist: updated install files
Parichay Kapoor [Tue, 31 Dec 2019 08:29:39 +0000 (17:29 +0900)]
Dist: updated install files

Updated the files to installed based on opencl or neon support

Change-Id: Ic76c61107591c7c7e8afb98a71408c5325baa0c4
Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
5 years agoDist/Tizen: remove libarmcl-release
MyungJoo Ham [Fri, 29 Nov 2019 03:56:25 +0000 (12:56 +0900)]
Dist/Tizen: remove libarmcl-release

There is no one using that obsoleted names.
To avoid "have choice for" problem, remove it.

Change-Id: Id253bd42b5f6a331fdfcd022cdb9ec4691cec923
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoDist/Tizen: spec file clean-up
MyungJoo Ham [Tue, 26 Nov 2019 01:09:34 +0000 (10:09 +0900)]
Dist/Tizen: spec file clean-up

1. Do not use "release" postfix for the main library package.
2. Do not use -n if you are going to have the main name as prefix.
3. Cleaned up and added missing internal dependencies

Change-Id: Ic9adef91725b2f73a19b0a5d89ac8480643859da
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoFix dependency error
MyungJoo Ham [Wed, 25 Sep 2019 01:26:29 +0000 (10:26 +0900)]
Fix dependency error

Libarmcl's main package is libarmcl-release, not libarmcl.

Change-Id: I960f7c17121320e82efe72a0c991aac3afac5905
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoFix packaging error
MyungJoo Ham [Tue, 24 Sep 2019 04:48:04 +0000 (13:48 +0900)]
Fix packaging error

This fixes:

=== the following packages failed to build due to missing build dependencies (1) ===
nnstreamer:
  have choice for libarm_compute.so()(64bit) needed by nnfw-devel: libarmcl-devel libarmcl-release
  have choice for libarm_compute_core.so()(64bit) needed by nnfw-devel: libarmcl-devel libarmcl-release
  have choice for libarm_compute.so()(64bit) needed by nnfw: libarmcl-devel libarmcl-release
  have choice for libarm_compute_core.so()(64bit) needed by nnfw: libarmcl-devel libarmcl-release

by
- Make files exclusively installed between subpackages (release and devel)
- Add dependency between relead and devel.

Change-Id: I1b738124c9d62c663e99316eba68cbcda7cd033f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoFix toolchain name for Tizen build
Inki Dae [Mon, 16 Dec 2019 07:44:10 +0000 (16:44 +0900)]
Fix toolchain name for Tizen build

Change-Id: If46310352247976566f36ac026e08465e0b8135b
Signed-off-by: Inki Dae <inki.dae@samsung.com>
5 years agopackaging: add gbs build support for Tizen
Inki Dae [Wed, 6 Mar 2019 01:14:53 +0000 (10:14 +0900)]
packaging: add gbs build support for Tizen

Change-Id: I961315e7bb17e071deae469fc26b3a151eb1b0e4
Signed-off-by: Inki Dae <inki.dae@samsung.com>
5 years agoarm_compute v19.11.1
Jenkins [Wed, 22 Jan 2020 18:08:16 +0000 (18:08 +0000)]
arm_compute v19.11.1

5 years agoarm_compute v19.11
Jenkins [Thu, 28 Nov 2019 16:53:35 +0000 (16:53 +0000)]
arm_compute v19.11

5 years agoarm_compute v19.08
Jenkins [Mon, 2 Sep 2019 10:47:54 +0000 (11:47 +0100)]
arm_compute v19.08

6 years agoarm_compute v19.05
Jenkins [Thu, 23 May 2019 16:11:51 +0000 (17:11 +0100)]
arm_compute v19.05

6 years agoUpdate README.md
Georgios Pinitas [Fri, 1 Mar 2019 16:49:12 +0000 (16:49 +0000)]
Update README.md

6 years agoarm_compute v19.02
Jenkins [Thu, 28 Feb 2019 12:25:18 +0000 (12:25 +0000)]
arm_compute v19.02

Change-Id: I853a3ecf38f206da13c1b03640c8adf73c20477c

6 years agoUpdate README.md
Isabella Gottardi [Wed, 28 Nov 2018 16:54:19 +0000 (16:54 +0000)]
Update README.md

6 years agoFix README Link
Isabella Gottardi [Wed, 28 Nov 2018 16:44:08 +0000 (16:44 +0000)]
Fix README Link

6 years agoarm_compute v18.11
Jenkins [Thu, 22 Nov 2018 11:58:08 +0000 (11:58 +0000)]
arm_compute v18.11

6 years agoarm_compute v18.08
Jenkins [Wed, 29 Aug 2018 15:32:11 +0000 (15:32 +0000)]
arm_compute v18.08

6 years agoFix build (#454)
ggardet [Fri, 29 Jun 2018 15:01:01 +0000 (17:01 +0200)]
Fix build (#454)

* Fix C++11 syntax. It fixes build with GCC.

* Be Python 3.x compatible by replacing print "XXX" by print("XXX")

7 years agoarm_compute v18.05 master
Jenkins [Wed, 23 May 2018 10:36:53 +0000 (11:36 +0100)]
arm_compute v18.05

7 years agobugfix: CLDeconvolutionLayer::validate fails if bias==NULL (#439)
wr0112358 [Mon, 14 May 2018 08:13:56 +0000 (10:13 +0200)]
bugfix: CLDeconvolutionLayer::validate fails if bias==NULL (#439)

7 years agoAdded link to ArmNN
Anthony Barbier [Fri, 4 May 2018 08:30:15 +0000 (09:30 +0100)]
Added link to ArmNN

Change-Id: I3738be62d60d046067c4f347c0e1dd2dd0bd1dab

7 years agoCorrect the use of OpenMP private (#400)
Simone Pellegrini [Thu, 29 Mar 2018 16:51:02 +0000 (18:51 +0200)]
Correct the use of OpenMP private (#400)

7 years agoFix race condition on info.thread_id in OpenMP scheduler (#399)
Simone Pellegrini [Thu, 29 Mar 2018 09:59:28 +0000 (11:59 +0200)]
Fix race condition on info.thread_id in OpenMP scheduler (#399)

Additionally refactor improper use of OpenMP's worksharing
construct (for).

7 years agoBugfix: fixing trivial typo in enum value definition for A53. (#394)
Adam Charytoniuk [Mon, 26 Mar 2018 15:28:31 +0000 (16:28 +0100)]
Bugfix: fixing trivial typo in enum value definition for A53. (#394)

7 years agoarm_compute v18.03
Jenkins [Fri, 2 Mar 2018 12:38:09 +0000 (12:38 +0000)]
arm_compute v18.03

Change-Id: I8f9a2a9d32a6cab019b8504d313216f28671f9f5

7 years agoarm_compute v18.02
Anthony Barbier [Thu, 22 Feb 2018 15:45:35 +0000 (15:45 +0000)]
arm_compute v18.02

Change-Id: I7207aa488e5470f235f39b6c188b4678dc38d1a6

7 years agoBugfix for NumPyBinLoader with SubTensor output. (#345)
hakanardo [Fri, 16 Feb 2018 09:06:34 +0000 (10:06 +0100)]
Bugfix for NumPyBinLoader with SubTensor output. (#345)

* Bugfix for NumPyBinLoader with SubTensor output.

When a SubTensor is used as output from a NumPyBinLoader, data should
not be written to the begining of the buffer.

Change-Id: I6ed4b24710ac09b41ca92c7e21f24d44a3ed2881

* Reduce the buffer size with the same amount

Change-Id: Id260f58209ce2fbee877f7d6f4afbe95c6c74036

* SubTensor's has to be accessed through execution windows

7 years agoBugfix: must zero all values in all slices (#343)
wr0112358 [Wed, 14 Feb 2018 17:37:51 +0000 (18:37 +0100)]
Bugfix: must zero all values in all slices (#343)

7 years agofix warning hit with Android clang version 5.0.300080 (#348)
jasonrandrews [Wed, 14 Feb 2018 17:35:53 +0000 (11:35 -0600)]
fix warning hit with Android clang version 5.0.300080 (#348)

7 years agoarm_compute v18.01
Anthony Barbier [Wed, 24 Jan 2018 16:23:15 +0000 (16:23 +0000)]
arm_compute v18.01

Change-Id: I9bfa178c2e38bfd5fc812e62aab6760d87748e05

7 years agoMerge pull request #325 from lukeiwanski/feature/no_exceptions
Anthony Barbier [Wed, 3 Jan 2018 16:21:54 +0000 (16:21 +0000)]
Merge pull request #325 from lukeiwanski/feature/no_exceptions

ARM_COMPUTE_NO_EXCEPTIONS macro guard

7 years agoarm_compute v17.12
Anthony Barbier [Thu, 14 Dec 2017 23:48:46 +0000 (23:48 +0000)]
arm_compute v17.12

7 years agoUpdate AlexNet example with accessors
Anthony Barbier [Mon, 23 Oct 2017 17:55:17 +0000 (18:55 +0100)]
Update AlexNet example with accessors

7 years agoMerge pull request #244 from forresti/fix-comment
Anthony Barbier [Mon, 23 Oct 2017 17:28:30 +0000 (18:28 +0100)]
Merge pull request #244 from forresti/fix-comment

fix comment

7 years agoMerge pull request #258 from giorgio-arena/patch-1
Anthony Barbier [Mon, 23 Oct 2017 16:11:14 +0000 (17:11 +0100)]
Merge pull request #258 from giorgio-arena/patch-1

Update 00_introduction.dox

7 years agoUpdate 00_introduction.dox
giorgio-arena [Mon, 23 Oct 2017 15:58:59 +0000 (16:58 +0100)]
Update 00_introduction.dox

7 years agofix comment
Forrest Iandola [Mon, 16 Oct 2017 07:44:24 +0000 (00:44 -0700)]
fix comment

typo
kernerl's --> kernel's

7 years agoarm_compute v17.10
Kaizen [Thu, 12 Oct 2017 13:26:51 +0000 (14:26 +0100)]
arm_compute v17.10

Change-Id: If1489af40eccd0219ede8946577afbf04db31b29

7 years agoarm_compute v17.09
Kaizen [Thu, 28 Sep 2017 13:38:23 +0000 (14:38 +0100)]
arm_compute v17.09

Change-Id: I4bf8f4e6e5f84ce0d5b6f5ba570d276879f42a81

7 years agoMerge pull request #195 from DensityCo/master
Anthony Barbier [Fri, 25 Aug 2017 09:08:42 +0000 (10:08 +0100)]
Merge pull request #195 from DensityCo/master

Fix Yocto cross-compiles

7 years agoFix Yocto cross-compiles
bradford barr [Mon, 7 Aug 2017 18:17:09 +0000 (14:17 -0400)]
Fix Yocto cross-compiles

Yocto defines it's compilers in the environment complete with some arch flags.
For example:

```
CC="arm-poky-linux-gnueabi-gcc \
  -march=armv7-a \
  -mfloat-abi=hard \
  -mfpu=neon \
  -mtune=cortex-a9 \
  --sysroot=/home/ubuntu/device/build/tmp/sysroots/pico-imx6"
```

The SConstruct file would fail to find the compiler because it was calling
python's subprocess.check_output which expects the first argument of the list
to be _only_ the name of the executable.

This patch allows the SConstruct script to check the version of the compiler
even with funny environment variables. Instead of appending to the compiler
string and passing `shell=True` to subprocess, split `env['CXX']` into an array
and append `-dumpversion` to that array. Python warns against the use of
`shell=True` in subprocess calls.

7 years agoAdded data folder (For the tests)
Anthony Barbier [Mon, 3 Jul 2017 16:06:50 +0000 (17:06 +0100)]
Added data folder (For the tests)

7 years agoRestored accidentally deleted LICENSE file
Anthony Barbier [Fri, 30 Jun 2017 07:39:19 +0000 (08:39 +0100)]
Restored accidentally deleted LICENSE file

7 years agoAdded reference to Caffe on Compute Library project
Anthony Barbier [Wed, 28 Jun 2017 10:33:54 +0000 (11:33 +0100)]
Added reference to Caffe on Compute Library project

7 years agoarm_compute v17.06
Anthony Barbier [Fri, 23 Jun 2017 14:42:00 +0000 (15:42 +0100)]
arm_compute v17.06

8 years agoMerge pull request #114 from andrew-wja/master
Anthony Barbier [Tue, 23 May 2017 10:36:01 +0000 (11:36 +0100)]
Merge pull request #114 from andrew-wja/master

Add a build flag to control whether or not the example programs get built

8 years agoAdd a build parameter controlling whether or not to build the example programs, defau...
Andrew Anderson [Thu, 18 May 2017 12:50:38 +0000 (13:50 +0100)]
Add a build parameter controlling whether or not to build the example programs, default to off

8 years agoarm_compute v17.05
Anthony Barbier [Thu, 4 May 2017 08:15:15 +0000 (09:15 +0100)]
arm_compute v17.05

8 years agoUpdated README with links to the v17.04 binaries and documentation
Anthony Barbier [Wed, 12 Apr 2017 17:03:27 +0000 (18:03 +0100)]
Updated README with links to the v17.04 binaries and documentation

8 years agoarm_compute v17.04
Anthony Barbier [Wed, 12 Apr 2017 14:12:46 +0000 (15:12 +0100)]
arm_compute v17.04

8 years agoMerge pull request #14 from sundw2014/master
Anthony Barbier [Wed, 5 Apr 2017 09:17:32 +0000 (10:17 +0100)]
Merge pull request #14 from sundw2014/master

fix a bug of checking dimensions in NEGEMMTranspose1xWKernel.cpp

8 years agoMerge pull request #11 from ppwwyyxx/patch-1
Anthony Barbier [Wed, 5 Apr 2017 09:16:53 +0000 (10:16 +0100)]
Merge pull request #11 from ppwwyyxx/patch-1

Include <cerrno>

8 years agoMerge pull request #22 from jlovejoy/patch-1
Anthony Barbier [Wed, 5 Apr 2017 09:14:59 +0000 (10:14 +0100)]
Merge pull request #22 from jlovejoy/patch-1

add license info to README

8 years agoadd license info to README
Jilayne Lovejoy [Tue, 4 Apr 2017 20:11:05 +0000 (14:11 -0600)]
add license info to README

adding explicit statement as to inbound and outbound license to readme

8 years agofix a bug of checking dimensions in NEGEMMTranspose1xWKernel.cpp
sundw2014 [Mon, 3 Apr 2017 03:24:53 +0000 (03:24 +0000)]
fix a bug of checking dimensions in NEGEMMTranspose1xWKernel.cpp

8 years agoInclude <cerrno>
Yuxin Wu [Fri, 31 Mar 2017 21:54:34 +0000 (14:54 -0700)]
Include <cerrno>

When compiling on Linux host to armv7a target following to the tutorial, got error of "errno undeclared". Include this header fixed this problem.

8 years agoAdded link to the binary builds in the README
Anthony Barbier [Fri, 31 Mar 2017 17:25:21 +0000 (18:25 +0100)]
Added link to the binary builds in the README

8 years agoarm_compute v17.03.1
Anthony Barbier [Fri, 24 Mar 2017 14:54:29 +0000 (14:54 +0000)]
arm_compute v17.03.1

8 years agoInitial commit
Richard Christie [Fri, 10 Mar 2017 14:51:44 +0000 (14:51 +0000)]
Initial commit