From 045d33c2e36575612662c237a30ec0a2d7d8cd3e Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Mon, 7 Dec 2020 20:52:55 +0000 Subject: Enable SVE2 based assembly kernels when building for SVE2 Sve2 kernels are guarded by -DSVE2, thus needs to be passed during compilation for them to be included. Resolves: COMPMID-3891 Signed-off-by: Georgios Pinitas Change-Id: I8ecb2f2289f2aa5a31958285f56e151019c9b9d6 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4666 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio --- SConstruct | 1 + 1 file changed, 1 insertion(+) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index c2e9a303f4..15197a632f 100644 --- a/SConstruct +++ b/SConstruct @@ -205,6 +205,7 @@ if 'v7a' in env['arch']: elif 'v8' in env['arch']: if 'sve2' in env['arch']: env.Append(CXXFLAGS = ['-march=armv8.2-a+sve2+fp16+dotprod']) + env.Append(CPPDEFINES = ['SVE2']) elif 'sve' in env['arch']: env.Append(CXXFLAGS = ['-march=armv8.2-a+sve+fp16+dotprod']) elif 'v8.' in env['arch']: -- cgit v1.2.1