Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 381 Bytes

compile_tensort.md

File metadata and controls

19 lines (14 loc) · 381 Bytes

源码编译(TensorRT)

How to build

Build for Linux

On Ubuntu

build

$ cd <tengine-lite-root-dir>
$ mkdir -p build-linux-trt && cd build-linux-trt
$ cmake -DTENGINE_ENABLE_TENSORRT=ON \
    -DTENSORRT_INCLUDE_DIR=/usr/include/aarch64-linux-gnu \
    -DTENSORRT_LIBRARY_DIR=/usr/lib/aarch64-linux-gnu ..

$ make -j4
$ make install