|
|
||
|---|---|---|
| .. | ||
| lenet | ||
| mobilenet | ||
| resnet50 | ||
| CMakeLists.txt | ||
| README | ||
| multi_device.cc | ||
| multi_device_demo.cc | ||
| vx_lenet.cc | ||
| vx_lenet.h | ||
| vx_mobilenet.cc | ||
| vx_mobilenet.h | ||
| vx_resnet50.cc | ||
| vx_resnet50.h | ||
README
## brief
The multi_device demo uses some acuity exported tim-vx networks, and running on 4 devices of NPU using platform api.
## environment
export VSIMULATOR_CONFIG=VIP9400O_PID0XD9
export VIV_MGPU_AFFINITY="1:0"
export VIV_OVX_USE_MULTI_DEVICE="1:1"
export TIM_VX_ROOT="${workspaceFolder}/tim-vx"
## build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DTIM_VX_BUILD_EXAMPLES=ON -DTIM_VX_ENABLE_PLATFORM=ON
## run
cd build
./samples/multi_device/multi_device