From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BA3BF43236; Sun, 29 Oct 2023 13:54:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A6A81402DE; Sun, 29 Oct 2023 13:54:23 +0100 (CET) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by mails.dpdk.org (Postfix) with ESMTP id 3A964402D9 for ; Sun, 29 Oct 2023 13:54:22 +0100 (CET) Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-7789cb322deso270558885a.3 for ; Sun, 29 Oct 2023 05:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698584061; x=1699188861; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=AP/Jqg/McokpQD1VpEFnWe1EAxnEPqUycYArU4otBjY=; b=F4+eiNYKzxxKeipGpI+mkxnTH4WWD2jwuvRoDKDgmIoBMq47Mw4/x2q1OMAb+UCHk/ OsgCpMxepFIgL0G7EFlIpcA6qeOmZBMZnv09T6RiX1rnfRgrLZjr5q8ASKIltI9joMEC VB6xd7vy86zVz0ank7hGa9xbcPG8jBnf3a4Wijp/GgP4kgrLcE5asZXuU7oVnTEwl3qi w3J8wfJBBtqpJXGatbUz18QtnINQpxRjwZcs1TPXVTjPpFg5sXviREmcaC/YffXfbBSo 5+65BtoeCgTngT/3zchEjZ+RmrDZ5nOV0j1UE+Ei5iPiLpwIe7FhTY9XISL3ly02JCmz Wy6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698584061; x=1699188861; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AP/Jqg/McokpQD1VpEFnWe1EAxnEPqUycYArU4otBjY=; b=e5m8S7QWIgQcy8eN0jOUuQgZcSiiu7IHpJYvAFjJ9+w67unExaK0qjuBnX8MNiu+yf jNLLG7qu0DLgKEm2Qld5l+I8ovi8HqjCDGfIOSDQNQuJJWCScsAad3hzt1wTgVD5jH2e Od27qX+5SomXNDggkeZgLOoObFE1i8EVnMavCTgmmFBpDnRe5w5F45jLXyG1jnsQJtke C9mzTSE1xTywMbdT23iKjeK0J3+nAxri6ZAHR4bTh/OdYbWU/dL7ZigE++voBG0CevTs mg9wmA22LGcKkHZVAMJ8V75RGEakOmnVMcHCV0vOQD2akS14S61OHBWM8u/Vi+mUa2n9 jfvQ== X-Gm-Message-State: AOJu0YxnZpK/cbwF3JDZm+YoQKEXchessTqs8D8uICiTcrwmAPvchN0K aG7Na7bNeHQwQhBDFelwpgwOJ7aaHvYkqWLZlQwyDtEnGZbUiA== X-Google-Smtp-Source: AGHT+IGHiZ2fulmNNU5XRxjiVbbn00lC8y5yCHLdGIqmY44NY2rkceP82laM+fptwni3gt2rWZ6ywC02K39dyQd1K94= X-Received: by 2002:ac8:7e96:0:b0:41e:1790:6cf7 with SMTP id w22-20020ac87e96000000b0041e17906cf7mr8588364qtj.37.1698584061464; Sun, 29 Oct 2023 05:54:21 -0700 (PDT) MIME-Version: 1.0 References: <20230830155927.3566-1-syalavarthi@marvell.com> <20231026124347.22477-1-syalavarthi@marvell.com> In-Reply-To: <20231026124347.22477-1-syalavarthi@marvell.com> From: Jerin Jacob Date: Sun, 29 Oct 2023 18:23:55 +0530 Message-ID: Subject: Re: [PATCH v9 00/34] Implementation of revised ml/cnxk driver To: Srikanth Yalavarthi Cc: dev@dpdk.org, sshankarnara@marvell.com, aprabhu@marvell.com, ptakkar@marvell.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, Oct 27, 2023 at 12:12=E2=80=AFAM Srikanth Yalavarthi wrote: > > This patch series is an implementation of revised ml/cnxk driver > to support models compiled with TVM compiler framework. TVM models > use a hybrid mode for execution, with regions of the model executing > on the ML accelerator and the rest executing on CPU cores. > > This series of commits reorganizes the ml/cnxk driver and adds support > to execute multiple regions with-in a TVM model. > > v9: > - Fixed incorrect IO layout for TVM Marvell models > - Set byte offset to zero for I/O tensors > - Updated max layers macro definition. Set to TVMDP max layers. > - Fixed TVM model IO type to RTE IO type map Series applied to dpdk-next-net-mrvl/for-next-net with following chages. Th= anks. 1) cnxl ml driver update in doc/guides/rel_notes/release_23_11.rst moved to close to mldev subsystem changes 2) [for-next-net]dell[dpdk-next-net-mrvl] $ git diff diff --git a/doc/guides/mldevs/cnxk.rst b/doc/guides/mldevs/cnxk.rst index 28e5b5b87f..25e8ff783a 100644 --- a/doc/guides/mldevs/cnxk.rst +++ b/doc/guides/mldevs/cnxk.rst @@ -212,9 +212,9 @@ not part of DPDK and must be installed separately: .. note:: In order for meson to find the dependencies during the configure stage= , - it is required to add the cmake paths /lib/cmake/dlpac= k, - /lib/cmake/dmlc and /lib/cmake/tvm to - CMAKE_PREFIX_PATH and /lib/pkgconfig to PKG_CONFIG_PAT= H. + it is required to update CMAKE_PREFIX_PATH and PKG_CONFIG_PATH as belo= w. + CMAKE_PREFIX_PATH=3D'/lib/cmake/tvm:/l= ib/cmake/dlpack:/lib/cmake/dmlc' + PKG_CONFIG_PATH=3D'/lib/pkgconfig' For the record, I have used following build command to test code with external build dep. Assumung all depended libraries installed at /export/cross_ml/install/ CMAKE_PREFIX_PATH=3D'/export/cross_ml/install/lib/cmake/tvm:/export/cross_m= l/install/lib/cmake/dlpack:/export/cross_ml/install/lib/cmake/dmlc' PKG_CONFIG_PATH=3D'/export/cross_ml/install/lib/pkgconfig/' meson setup --cross config/arm/arm64_cn10k_linux_gcc -Denable_docs=3Dtrue -Dexamples=3Dall -Dc_args=3D'-I/export/cross_ml/install/include' -Dc_link_args=3D'-L/export/cross_ml/install/lib' build Also, -Dc_args=3D'-I/export/cross_ml/install/include' -Dc_link_args=3D'-L/export/cross_ml/install/lib' could be removed when following patch merged through main tree. https://patches.dpdk.org/project/dpdk/patch/20231029082004.5576-1-syalavart= hi@marvell.com/