Skip to content

sld-columbia/nvdla-sw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NVDLA Open Source Software

NVDLA

The NVIDIA Deep Learning Accelerator (NVDLA) is a free and open architecture that promotes a standard way to design deep learning inference accelerators. With its modular architecture, NVDLA is scalable, highly configurable, and designed to simplify integration and portability. Learn more about NVDLA on the project web page.

http://nvdla.org/

Online Documentation

You can find the latest NVDLA SW documentation here. This README file contains only basic information.

Kernel Mode Driver

The kernel mode driver (KMD) is supported as a Linux out-of-tree kernel module. It has been verified with Linux 4.13.3 on ARM64 and is expected to work on other cpu architectures with little or no modification. The driver uses DRM and GEM PRIME for DMA buffer allocation and sharing.

Building the Linux KMD

make KDIR=<path_to_Linux_source> ARCH=arm64 CROSS_COMPILE=<path_to_toolchain>

User Mode Driver and test application

The user mode driver (UMD) includes runtime library. It provides interfaces to load network from loadable and submit it to NVDLA KMD. For reference, this package also includes test application demonstrating usage of runtime interfaces.

Building the Linux UMD and test application

export TOP=<path_to_umd>
make

Licensing

NVDLA SW is released under the BSD 3-Clause license. An exception exists for the NVDLA SW Linux Kernel Mode Driver which is released under a GPLv2/BSD 3-Clause dual license. Each source and header file contains its license notice at the start of the file.

NVDLA SW uses some external software components such as flatbuffers, half-precision library. License text for these softwares is included in COPYING file.

Packages

No packages published

Languages

  • C++ 58.8%
  • C 38.8%
  • Python 1.6%
  • Other 0.8%