源码编译(CUDA) How to build Build for Linux On Ubuntu setup nvcc enva $ export CUDACXX=/usr/local/cuda/bin/nvcc build $ cd <tengine-lite-root-dir> $ mkdir -p build-linux-cuda && cd build-linux-cuda $ cmake -DTENGINE_ENABLE_CUDA=ON .. $ make -j4 $ make install