[PATCH v3 0/4] implementation of ML common code

Thomas Monjalon thomas at monjalon.net
Wed Jan 25 14:18:22 CET 2023


20/12/2022 18:52, Srikanth Yalavarthi:
> Machine Learning common code
> ----------------------------
> 
> This patch series implements the common ML code that can be used by
> ML drivers. Common code include functions to convert ML IO type to
> string, IO format type to string, function get size of ML IO type,
> and functions for converting data types from higher precision to
> lower precision and vice-versa.

I'm not sure about the path of this code.
In general we implement drivers helper in the same directory as the driver
and mark it as internal.
Would it work here?

>  drivers/common/meson.build          |   1 +
>  drivers/common/ml/meson.build       |  25 +
>  drivers/common/ml/ml_utils.c        | 118 ++++
>  drivers/common/ml/ml_utils.h        | 283 +++++++++
>  drivers/common/ml/ml_utils_neon.c   | 873 ++++++++++++++++++++++++++++
>  drivers/common/ml/ml_utils_scalar.c | 720 +++++++++++++++++++++++
>  drivers/common/ml/version.map       |  25 +





More information about the dev mailing list