Skip to content

Commit cfe611f

Browse files
authored
Merge pull request #13112 from luotao1/fix_mkldnn_0.15.0
fix tensorrt compiler error
2 parents ec9eb22 + 02f09ac commit cfe611f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
nv_library(tensorrt_engine SRCS engine.cc DEPS framework_proto)
1+
nv_library(tensorrt_engine SRCS engine.cc DEPS framework_proto device_context)
22
nv_test(test_tensorrt SRCS test_tensorrt.cc DEPS dynload_cuda device_context dynamic_loader)
33
nv_test(test_tensorrt_engine SRCS test_engine.cc DEPS dynload_cuda tensorrt_engine)
44
add_subdirectory(convert)

paddle/fluid/platform/device_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ limitations under the License. */
2424
#endif
2525

2626
#ifdef PADDLE_WITH_MKLDNN
27-
#include <mkldnn.hpp>
27+
#include "mkldnn.hpp"
2828
#endif
2929

3030
#include <map>

0 commit comments

Comments
 (0)