blob: d685a49ba96a94627fcf7255553c1dd0904b1eb4 [file] [log] [blame]
Sheri Zhangd813bab2021-04-30 16:53:41 +01001///
2/// Copyright (c) 2017-2021 Arm Limited.
3///
4/// SPDX-License-Identifier: MIT
5///
6/// Permission is hereby granted, free of charge, to any person obtaining a copy
7/// of this software and associated documentation files (the "Software"), to
8/// deal in the Software without restriction, including without limitation the
9/// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10/// sell copies of the Software, and to permit persons to whom the Software is
11/// furnished to do so, subject to the following conditions:
12///
13/// The above copyright notice and this permission notice shall be included in all
14/// copies or substantial portions of the Software.
15///
16/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22/// SOFTWARE.
23///
24namespace arm_compute
25{
Sang-Hoon Parkc9309f22021-05-05 10:34:47 +010026/**
27@mainpage Introduction
28@copydoc introduction
29
30@page introduction Introduction
Sheri Zhangd813bab2021-04-30 16:53:41 +010031
32@tableofcontents
33
34The Compute Library is a collection of low-level machine learning functions optimized for both Arm CPUs and GPUs using SIMD technologies.
35
36Several builds of the library are available using various configurations:
37 - OS: Linux, Android, macOS or bare metal.
38 - Architecture: armv7a (32bit) or arm64-v8a (64bit).
39 - Technology: Arm® Neon™ / OpenCL / Arm® Neon™ and OpenCL.
40 - Debug / Asserts / Release: Use a build with asserts enabled to debug your application and enable extra validation. Once you are sure your application works as expected you can switch to a release build of the library for maximum performance.
41
Michele Di Giorgiob43b87a2021-04-30 12:35:03 +010042@b Minimum toolchains requirements are shown below:
43
44<table>
45<tr>
46 <th>Operating System
47 <th>Architecture
48 <th>Minimum Toolchain
49<tr>
50 <td rowspan="4">Linux
51 <td>armv7a
52 <td>gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf
53 <tr>
54 <td>arm64-v8a
55 <td rowspan="2">gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
56 <tr>
57 <td>armv8.2-a
58 <tr>
59 <td>armv8.2-a-sve
60 <td>gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu
61<tr>
62 <td rowspan="3">Android
63 <td>armv7a
64 <td rowspan="3">NDK r18b
65 <tr>
66 <td>arm64-v8a
67 <tr>
68 <td>armv8.2-a
69</table>
70
Sheri Zhangd813bab2021-04-30 16:53:41 +010071@section S0_1_contact Contact / Support
72
73Please create an issue on <a href="https://github.com/ARM-software/ComputeLibrary/issues">Github</a>.
74
75In order to facilitate the work of the support team please provide the build information of the library you are using. To get the version of the library you are using simply run:
76
77 $ strings android-armv7a-cl-asserts/libarm_compute.so | grep arm_compute_version
78 arm_compute_version=v16.12 Build options: {'embed_kernels': '1', 'opencl': '1', 'arch': 'armv7a', 'neon': '0', 'asserts': '1', 'debug': '0', 'os': 'android', 'Werror': '1'} Git hash=f51a545d4ea12a9059fe4e598a092f1fd06dc858
79
80@section S0_2_prebuilt_binaries Pre-built binaries
81
Michele Di Giorgiob43b87a2021-04-30 12:35:03 +010082For each release we provide some pre-built binaries of the library [here](https://github.com/ARM-software/ComputeLibrary/releases).
Sheri Zhangd813bab2021-04-30 16:53:41 +010083
84These binaries have been built using the following toolchains:
85 - Linux armv7a: gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
86 - Linux arm64-v8a: gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu
Gunes Bayir08773702021-11-05 12:34:34 +000087 - Linux arm64-v8.2-a: gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu
Motti Gondabi6f3a9f52021-11-09 15:47:17 +020088 - Linux arm64-v8.2-a (multi-ISA binary): gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu
Michele Di Giorgiob43b87a2021-04-30 12:35:03 +010089 - Linux armv8.2a-sve: gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu
Gunes Bayir08773702021-11-05 12:34:34 +000090 - Android armv7a: clang++ / libc++ NDK r20b
Sheri Zhangd813bab2021-04-30 16:53:41 +010091 - Android am64-v8a: clang++ / libc++ NDK r20b
Gunes Bayir08773702021-11-05 12:34:34 +000092 - Android arm64-v8.2-a: clang++ / libc++ NDK r20b
Sheri Zhangd813bab2021-04-30 16:53:41 +010093
94@warning Make sure to use a compatible toolchain to build your application or you will get some std::bad_alloc errors at runtime.
95
96@section S0_3_file_organisation File organisation
97
98This archive contains:
99 - The arm_compute header and source files
100 - The latest Khronos OpenCL 1.2 C headers from the <a href="https://www.khronos.org/registry/cl/">Khronos OpenCL registry</a>
101 - The latest Khronos cl2.hpp from the <a href="https://www.khronos.org/registry/cl/">Khronos OpenCL registry</a> (API version 2.1 when this document was written)
102 - The latest Khronos EGL 1.5 C headers from the <a href="https://www.khronos.org/registry/gles/">Khronos EGL registry</a>
103 - The sources for a stub version of libOpenCL.so, libGLESv1_CM.so, libGLESv2.so and libEGL.so to help you build your application.
104 - An examples folder containing a few examples to compile and link against the library.
Georgios Pinitas856f66e2021-04-22 21:13:21 +0100105 - A utils folder containing headers with some boiler plate code used by the examples.
Sheri Zhangd813bab2021-04-30 16:53:41 +0100106 - This documentation.
107
108 For detailed information about file organization, please refer to Files -> File List section of this documentation.
109
110*/
111} // namespace arm_compute