[PATCH v2 12/16] acl: add define guards to avoid multi-inclusion

Ananyev, Konstantin konstantin.ananyev at intel.com
Wed Feb 9 10:42:28 CET 2022



> Supplement define guards to prevent multiple inclusion.
> It should noted that there is an exceptional case:
> lib/acl/acl_run_avx512_common.h is designed to be included
> several times.
> 
> Signed-off-by: Weiguo Li <liwg06 at foxmail.com>
> ---
>  lib/acl/acl_run_altivec.h   | 5 +++++
>  lib/acl/acl_run_avx2.h      | 5 +++++
>  lib/acl/acl_run_avx512x16.h | 5 +++++
>  lib/acl/acl_run_avx512x8.h  | 5 +++++
>  lib/acl/acl_run_neon.h      | 5 +++++
>  lib/acl/acl_run_sse.h       | 5 +++++
>  6 files changed, 30 insertions(+)

Do we really need these changes?
All these headers are internal ones for acl_run_*.c and not
supposed to be included multiple times anyway.



More information about the dev mailing list