diff options
author | Motti Gondabi <motti.gondabi@arm.com> | 2021-11-09 15:47:17 +0200 |
---|---|---|
committer | Motti Gondabi <motti.gondabi@arm.com> | 2021-12-14 06:22:48 +0000 |
commit | 6f3a9f5f4ef6ec7aa8e91df3c1f373d95931dd7b (patch) | |
tree | 68a880e4eda9b5b33d324f7f2d66ee48954ba693 /src/cpu/kernels/add | |
parent | 30124354c6848c49f9740d1944d2445782255a85 (diff) | |
download | ComputeLibrary-6f3a9f5f4ef6ec7aa8e91df3c1f373d95931dd7b.tar.gz |
Add Multi ISA support for SCons build System (part #1)
- Enhance the SCons build system to support V8
SVE/SVE2 achitecture in a single binary
- Add additional filedefs.json to include build definitions
Resolves: COMPMID-4921
Signed-off-by: Motti Gondabi <motti.gondabi@arm.com>
Change-Id: Ie3c0ef444303270ba560ca3f43c6e22d50b86679
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6689
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/cpu/kernels/add')
-rw-r--r-- | src/cpu/kernels/add/generic/sve/fp16.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/kernels/add/generic/sve/fp16.cpp b/src/cpu/kernels/add/generic/sve/fp16.cpp index 71056a0a48..28f4d2ba8e 100644 --- a/src/cpu/kernels/add/generic/sve/fp16.cpp +++ b/src/cpu/kernels/add/generic/sve/fp16.cpp @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ +#if defined(ARM_COMPUTE_ENABLE_SVE) #if defined(__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) && defined(ENABLE_FP16_KERNELS) #include "src/cpu/kernels/add/generic/sve/impl.h" @@ -36,3 +37,4 @@ void add_fp16_sve(const ITensor *src0, const ITensor *src1, ITensor *dst, const } } // namespace arm_compute #endif /* (__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) && defined(ENABLE_FP16_KERNELS) */ +#endif /* #if defined(ARM_COMPUTE_ENABLE_SVE) */
\ No newline at end of file |