All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-processor-sdk][PATCHv2 0/5] Pytorch GLOW AOT tool and demo example
@ 2019-08-23 13:58 Djordje Senicic
  2019-08-23 13:58 ` [meta-processor-sdk][PATCHv2 1/5] mesa, llvm, meson: Update llvm to 8.0.1 plus define and use LLVM version globally Djordje Senicic
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Djordje Senicic @ 2019-08-23 13:58 UTC (permalink / raw)
  To: meta-arago; +Cc: d-senicic1, Djordje Senicic

This is continuation of work from previous release that did not create nativesdk artifacts properly.
Pytorch GLOW xNN compiler allows Ahead-of-Time compilation of neural network models into CPU object file (for target architecture) using LLVM.
This requires LLVM compiler version 7 or later. Now, the 2020LTS LLVM candidate from oe-core master branch is imported, to avoid unnecessary future upgrades (LLVM8.0.1 version).
Also, there are several native tools that are part of GLOW project that need to be compiled using CLANG/LLVM compiler (from branch 8.0), that is separately pulled in for that
sole purpose (since oe-core does not include CLANG compiler).
Natively compiled tools are used for further building of nativesdk GLOW package which includes single AOT tool, image-classifier, that is deployed in linux-devkit.
End user could use this tool to compile its own xNN model into ARMv7 object file and link with its application. An example, demo-glow, is provided in top level Makefile and example-application.
Small, well known mnist xNN model and several test images, are included in the filesystem.


Djordje Senicic (5):
  mesa,llvm,meson: Update llvm to 8.0.1 plus define and use LLVM version
    globally
  clang8-native: llvm and clang used only for compilation of native
    tools for glow compiler
  glow: Address devkit related RPATH issue to point to devkit shared
    libraries instead of host native
  demo-glow: Restore in top-level makefile examples after recipe cleanup
  packagegroup-arago-tisdk: Include xNN glow based compiler tool into
    devkit, and demo-glow example

 recipes-apps/demo-glow/demo-glow.bb           |  16 +-
 recipes-apps/demo-glow/files/Makefile.build   |   3 +-
 ...sdk-packagegroup-arago-tisdk-host.bbappend |   4 +
 ...group-arago-tisdk-addons-sdk-host.bbappend |  11 ++
 ...oup-arago-tisdk-addons-sdk-target.bbappend |   6 +
 .../packagegroup-arago-tisdk-addons.bbappend  |   7 +
 ...{llvm-glow_git.bb => clang8-native_git.bb} |  16 +-
 ...p-compilation-of-native-helper-tools.patch |  99 ++++++++++
 recipes-devtools/glow/glow_git.bb             |  62 ++++--
 ...ryInfo-Undefine-libc-functions-if-th.patch |  92 +++++++++
 ...-llvm-allow-env-override-of-exe-path.patch |  38 ++++
 recipes-devtools/glow/llvm8_git.bb            | 180 ++++++++++++++++++
 .../ti-tisdk-makefile_1.0.bbappend            |   4 +
 13 files changed, 508 insertions(+), 30 deletions(-)
 create mode 100644 recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bbappend
 rename recipes-devtools/glow/{llvm-glow_git.bb => clang8-native_git.bb} (51%)
 create mode 100644 recipes-devtools/glow/files/0002-Skip-compilation-of-native-helper-tools.patch
 create mode 100644 recipes-devtools/glow/llvm8/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
 create mode 100644 recipes-devtools/glow/llvm8/0007-llvm-allow-env-override-of-exe-path.patch
 create mode 100644 recipes-devtools/glow/llvm8_git.bb

-- 
2.17.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-09-18 19:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-23 13:58 [meta-processor-sdk][PATCHv2 0/5] Pytorch GLOW AOT tool and demo example Djordje Senicic
2019-08-23 13:58 ` [meta-processor-sdk][PATCHv2 1/5] mesa, llvm, meson: Update llvm to 8.0.1 plus define and use LLVM version globally Djordje Senicic
2019-08-23 16:15   ` [EXTERNAL] " Jacob Stiffler
2019-08-23 17:34     ` Senicic, Djordje
2019-08-23 18:06       ` Jacob Stiffler
2019-08-23 18:17         ` Senicic, Djordje
2019-08-23 13:58 ` [meta-processor-sdk][PATCHv2 2/5] clang8-native: llvm and clang used only for compilation of native tools for glow compiler Djordje Senicic
2019-08-23 13:58 ` [meta-processor-sdk][PATCHv2 3/5] glow: Address devkit related RPATH issue to point to devkit shared libraries instead of host native Djordje Senicic
2019-09-18 19:39   ` [EXTERNAL] " Jacob Stiffler
2019-08-23 13:58 ` [meta-processor-sdk][PATCHv2 4/5] demo-glow: Restore in top-level makefile examples after recipe cleanup Djordje Senicic
2019-08-23 16:17   ` [EXTERNAL] " Jacob Stiffler
2019-08-23 13:58 ` [meta-processor-sdk][PATCHv2 5/5] packagegroup-arago-tisdk: Include xNN glow based compiler tool into devkit, and demo-glow example Djordje Senicic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.