Merge pull request #10545 from luotao1/fix_tensorrt_engine

fix tensorrt_engine compiler error
testDrivenImageClassification
Tao Luo 7 years ago committed by GitHub
commit 28de0ea404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,8 +20,8 @@ if(NOT APPLE)
endif()
if(WITH_TESTING)
# both tests/book and analysis depends the models that generated by python/paddle/fluid/tests/book
add_subdirectory(tests/book)
# analysis test depends the models that generate by python/paddle/fluid/tests/book
add_subdirectory(analysis)
endif()

@ -1,4 +1,4 @@
nv_library(tensorrt_engine SRCS engine.cc)
nv_library(tensorrt_engine SRCS engine.cc DEPS framework_proto)
nv_test(test_tensorrt SRCS test_tensorrt.cc DEPS dynload_cuda device_context dynamic_loader)
nv_test(test_tensorrt_engine SRCS test_engine.cc DEPS dynload_cuda tensorrt_engine)

Loading…
Cancel
Save