CMakeLists.txt 888 字节
Newer Older
Y
Yan Chunwei 已提交
1
# Add TRT tests
Y
Yu Yang 已提交
2 3 4 5 6
# This test is not stable
# See https://paddleci.ngrok.io/viewLog.html?tab=buildLog&buildTypeId=Paddle_PrCi2&buildId=36834&_focus=8828 
#nv_test(test_trt_activation_op SRCS test_activation_op.cc activation_op.cc io_converter.cc
#    DEPS ${FLUID_CORE_MODULES} activation_op tensorrt_engine
#    SERIAL)
7 8 9 10 11 12 13
nv_library(tensorrt_converter
  SRCS mul_op.cc conv2d_op.cc fc_op.cc
  DEPS tensorrt_engine mul_op)

nv_test(test_op_converter SRCS test_op_converter.cc DEPS
  ${FLUID_CORE_MODULES} tensorrt_engine tensorrt_converter)

L
Luo Tao 已提交
14
nv_test(test_io_converter SRCS test_io_converter.cc io_converter.cc DEPS dynload_cuda dynamic_loader lod_tensor)
Y
Yan Chunwei 已提交
15 16
nv_test(test_trt_mul_op SRCS test_mul_op.cc mul_op.cc
        DEPS ${FLUID_CORE_MODULES} tensorrt_engine mul_op SERIAL)
17 18
nv_test(test_trt_fc_op SRCS test_fc_op.cc fc_op.cc
        DEPS ${FLUID_CORE_MODULES} tensorrt_engine mul_op SERIAL)