Copyright © 2017 BITMAIN TECHNOLOGIES LIMITED. All rights reserved.
Like this:
lwang@lwang-04:~/bmdnn_runtime$ ./install.sh
Type “y” as guided and the installation will be done like this:
Bmdnn:
Running module version sanity check.
Original module
No original module exists within this kernel
Installation
Installing to /lib/modules/4.10.0-28-generic/updates/dkms
depmod….
DKMS:install completed.
Setting up bmdnn-firmware(1.2.1023-1)…
Setting up caffe(1.2.1023-1)…
Setting up libbmdnn(1.2.1023-1)…
lwang@lwang-04:~/bmdnn_runtime$
Now package has been installed successfully.
2.2.3 Example
There are several test applications in the package. As demo, these tests can be easily used, you
can type a command like this from any path:
test_md_scalar
This application will run. It will load firmware to SC1 when necessary. And the calculation result will
be shown at last.
Available sample applications may be within following list:
Test Name
note
1
test_conv_forwar
2
test_fc_backward
3
test_fc_forward
4
test_img_sum
5
test_md_cmp
6
test_md_linear
7
test_md_scalar
8
test_md_sfu
9
test_md_sum
10
test_pooling_forward
11
test_relu_layer
12
test_sigmoid
13
test_softmax
14
test_softmax_loss
15
test_tanh
Note: this list may be different in different packages.