diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-09-14 12:33:34 +0100 |
---|---|---|
committer | Freddie Liardet <frederick.liardet@arm.com> | 2021-10-07 10:59:05 +0000 |
commit | b6af482bc5d8e4f03f876e17909c561de198c4d3 (patch) | |
tree | f32c3a796cad01ffc27a4da2e8141cdf451ca453 /docs/user_guide/library.dox | |
parent | 58e9e06102da7042bed34482ae89b3a6f8c77dca (diff) | |
download | ComputeLibrary-b6af482bc5d8e4f03f876e17909c561de198c4d3.tar.gz |
Per-operator build dependencies
Creates a list of operators their respective dependencies.
Alters the build system to walk-through them resolve the dependencies
and build Compute Library.
Removes the following unused kernels/functions:
-[NE|CL]MinMaxLayerKernel
-CLFillBorder
Resolves: COMPMID-4695,COMPMID-4696
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I35ebeef38dac25ec5459cfe9c5f7c9a708621124
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/357914
Tested-by: bsgcomp <bsgcomp@arm.com>
Reviewed-by: Michele DiGiorgio <michele.digiorgio@arm.com>
Comments-Addressed: bsgcomp <bsgcomp@arm.com>
Signed-off-by: Freddie Liardet <frederick.liardet@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6295
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'docs/user_guide/library.dox')
-rw-r--r-- | docs/user_guide/library.dox | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/user_guide/library.dox b/docs/user_guide/library.dox index 6c7b7e941f..fc08dbc437 100644 --- a/docs/user_guide/library.dox +++ b/docs/user_guide/library.dox @@ -561,6 +561,35 @@ Selecting fat_binary when building Compute Library, will create a library that c Based on the CPU support, the appropriate kernel will be selected at runtime for execution. Currently this option is only supported with armv8.2-a as the base architecture. +@subsection architecture_experimental_per_operator_build Per-operator build + +Dependencies for all operators have been explicitly defined, this provides the ability to users to generate Compute Library +binaries that include a user-defined list of operators. + +An experimental flag 'build_config' has been introduced where a JSON configuration file can be provided and consumed. +An example config looks like: +@code{.py} +{ + "operators": [ + "Activation", + "DepthwiseConv2d", + "Conv2d", + "Permute", + "Pool2d", + "Reshape" + ], + "data_types": [ + "NHWC" + ] +} +@endcode + +Supported data-types options are: +- "NHWC" +- "NCHW" + +The list of supported operators can be found in filelist.json in the root of Compute Library repo. + @subsection architecture_experimental_build_high_priority_operators Build high priority operators Selecting high_priority when building Compute Library, one new library will be created: libarm_compute_hp and |