Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Device Drivers ->
	Multimedia support ->
  	Media drivers ->
    	ML Inference Processor VIP9000_NPU

Refer to the snapshot of the NPU Version choice menu below:

...

Upon successful NPU driver probing, the NPU device ('galcore') will appear in the Linux device directory '/dev'.

Code Block
~ # ls -l /dev/galcore
crw-rw----    1 root     root      199,   0 Jan  1 00:00 /dev/galcore

2. NN Shared Libraries

...

Code Block
wells@wells-linux:~/Q654$ ll linux/rootfs/initramfs/prebuilt/vip9000sdk
total 20
drwxrwxr-x 7 wells wells 4096 Jun 12 21:31 ./
drwxrwxr-x 9 wells wells 4096 Jun 12 21:31 ../
drwxrwxr-x 4 wells wells 4096 Jun 12 21:31 6.4.13.8/
drwxrwxr-x 4 wells wells 4096 Jun 12 21:31 6.4.15.9/
drwxrwxr-x 4 wells wells 4096 Jun 12 21:31 6.4.18.5/

The

...

‘include’

...

subdirectory

...

includes

...

the

...

relevant

...

header

...

files:

Code Block
wells@wells-linux:~/Q654$ ll linux/rootfs/initramfs/prebuilt/vip9000sdk/6.4.15.9/include/
total 28
drwxrwxr-x  7 wells wells 4096 Jun 12 21:31 ./
drwxrwxr-x  4 wells wells 4096 Jun 12 21:31 ../
drwxrwxr-x  2 wells wells 4096 Jun 12 21:31 CL/
drwxrwxr-x  3 wells wells 4096 Jun 12 21:31 HAL/
drwxrwxr-x  2 wells wells 4096 Jun 12 21:31 jpeg/
drwxrwxr-x 12 wells wells 4096 Jun 12 21:31 ovxlib/
drwxrwxr-x  2 wells wells 4096 Jun 12 21:31 VX/

...

Code Block
languagebash
INCLUDES+=-I$(VIVANTENN_SDK_DIR)/include/HAL \
          -I$(VIVANTENN_SDK_DIR)/include/CL \
          -I$(VIVANTENN_SDK_DIR)/include/VX \
          -I$(VIVANTENN_SDK_DIR)/include/ovxlib \
          -I$(VIVANTENN_SDK_DIR)/include/jpeg

LIBS+=-lOpenVX -lOpenVXU -lCLC -lVSC -lGAL -ljpeg -lovxlib

...