Project Structure¶
Directory Layout¶
-
lightnet/docsDocumentation files written in Markdown, which can be transformed into static web pages using mkdocs.
-
lightnet/protosPrototype and description files:
-
lightnet/protos/experimentExperimental prototypes used during development.
-
lightnet/protos/netNetwork model files in IR format.
-
lightnet/protos/opOperator description files for generating operator defination C source code.
-
-
lightnet/srcCore LightNet source code.
-
lightnet/src/archSource code for the definations of different software/hardware backends.
lightnet/tools/addop.plcan automatically add operator declarations to the correspondingln_arch_*.cfiles in this directory while generating operator defination code. -
lightnet/src/opSource code for the operator definations.
lightnet/src/op/autocontains auto-generated operator defination code generated bylightnet/tools/addop.pl
-
-
lightnet/testFeature and regression tests on LightNet infrastructure. Test templates can be generated with
lightnet/tools/addtest.pl. -
lightnet/toolsExecutables and modules helping the development and use of LightNet. You can always get help for a tool by typing
tool_name -h. See details in Tools. -
lightnet/common.mkSome common makefile code included by other makefiles.
-
lightnet/config.mkConfiguration variables generated by
lightnet/configure. -
lightnet/configureConfiguration script. Generate configuration variables in
config.mkand check dependencies. Must be called beforemake. -
lightnet/MakefileMain makefile.
-
lightnet/mkdocs.ymlConfigurations used by
mkdocsfor building documentation.