This project will no longer be maintained by Intel. Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project. Intel no longer accepts patches to this project.
This repository contains the host low-level user-mode library and tests for Intel NNP-I.
- libc++
- autoreconf -i
- ./configure
- make
- sudo make install
The user-mode library will be installed in /usr/local/lib/libnnpi_drv.so.0. The dummy_inference test program will be installed in /usr/local/bin/dummy_inference.
dummy_inference - A test program that runs the entire flow of a real inference application, including
allocating resources, schedule inference commands, DMA input/outputs to/from the device but without running
any real inference. It uses special "ULT" feature of the device which allows to create dummy inference network
that will only copy the network inputs to outputs when the network is executed.
The test can schedule one or more such infer commands with configurable number and size of inputs and outputs
and validate the resulting outputs.
Run dummy_inference -h
for usage.