[PATCH v4 04/12] app/mldev: add test case to validate model ops
Anup Prabhu
aprabhu at marvell.com
Thu Mar 2 03:58:57 CET 2023
> -----Original Message-----
> From: Srikanth Yalavarthi <syalavarthi at marvell.com>
> Sent: Tuesday, February 7, 2023 9:20 PM
> To: Srikanth Yalavarthi <syalavarthi at marvell.com>
> Cc: dev at dpdk.org; Shivah Shankar Shankar Narayan Rao
> <sshankarnara at marvell.com>; Jerin Jacob Kollanukkaran
> <jerinj at marvell.com>; Anup Prabhu <aprabhu at marvell.com>; Prince Takkar
> <ptakkar at marvell.com>; Parijat Shukla <pshukla at marvell.com>
> Subject: [PATCH v4 04/12] app/mldev: add test case to validate model ops
>
> Added test case to validate model operations. Model ops test is a collection
> of sub-tests. Each sub-test invokes the model operations in a specific order.
>
> Sub-test A: (load -> start -> stop -> unload) x n Sub-test B: load x n -> start x n
> -> stop x n -> unload x n Sub-test C: load x n + (start + stop) x n + unload x n
> Sub-test D: (load + start) x n -> (stop + unload) x n
>
> Added internal functions to handle model load, start, stop and unload. List of
> models to be used for testing can be specified through application argument
> "--models"
>
> Signed-off-by: Srikanth Yalavarthi <syalavarthi at marvell.com>
> ---
> app/test-mldev/meson.build | 2 +
> app/test-mldev/ml_options.c | 45 ++-
> app/test-mldev/ml_options.h | 9 +
> app/test-mldev/test_model_common.c | 162 +++++++++++ app/test-
> mldev/test_model_common.h | 37 +++
> app/test-mldev/test_model_ops.c | 433
> +++++++++++++++++++++++++++++
> app/test-mldev/test_model_ops.h | 21 ++
> 7 files changed, 706 insertions(+), 3 deletions(-) create mode 100644
> app/test-mldev/test_model_common.c
> create mode 100644 app/test-mldev/test_model_common.h
> create mode 100644 app/test-mldev/test_model_ops.c create mode
> 100644 app/test-mldev/test_model_ops.h
>
Acked-by: Anup Prabhu <aprabhu at marvell.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 23288 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/dev/attachments/20230302/8afd37c4/attachment-0001.bin>
More information about the dev
mailing list