CMakeLists.txt 766 字节
Newer Older
1 2 3 4
# Compiling with WITH_PYTHON=ON and WITH_TENSORRT=ON failed on windows. Temporarily add paddle_inference_api dependency to solve the problem
if(WIN32)
nv_library(tensorrt_engine SRCS engine.cc trt_int8_calibrator.cc DEPS ${GLOB_OPERATOR_DEPS} framework_proto device_context boost paddle_inference_api)
else()
N
nhzlx 已提交
5
nv_library(tensorrt_engine SRCS engine.cc trt_int8_calibrator.cc DEPS ${GLOB_OPERATOR_DEPS} framework_proto device_context boost)
6
endif()
7
nv_library(tensorrt_op_teller SRCS op_teller.cc DEPS framework_proto device_context boost)
Y
Yan Chunwei 已提交
8
nv_test(test_tensorrt SRCS test_tensorrt.cc DEPS dynload_cuda device_context dynamic_loader)
Y
Yan Chunwei 已提交
9
nv_test(test_tensorrt_engine SRCS test_engine.cc DEPS dynload_cuda tensorrt_engine)
N
nhzlx 已提交
10
add_subdirectory(plugin)
L
Luo Tao 已提交
11
add_subdirectory(convert)