Skip to content

Commit

Permalink
Merge pull request #10545 from luotao1/fix_tensorrt_engine
Browse files Browse the repository at this point in the history
fix tensorrt_engine compiler error
  • Loading branch information
luotao1 committed May 10, 2018
2 parents 62c51e4 + 4a5ebb6 commit 28de0ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion paddle/fluid/inference/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion paddle/fluid/inference/tensorrt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 28de0ea

Please sign in to comment.