Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion posts/TensorRT-introduction/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
CUDA_INSTALL_DIR=/usr/local/cuda

CXXFLAGS=-std=c++11 -Wall -I$(CUDA_INSTALL_DIR)/include
CXXFLAGS=-std=c++11 -Wall -I$(CUDA_INSTALL_DIR)/include -DONNX_ML=1
LDFLAGS=-L$(CUDA_INSTALL_DIR)/lib64 -L$(CUDA_INSTALL_DIR)/lib64/stubs
LDLIBS=-Wl,--start-group -lnvinfer -lnvonnxparser -lcudart_static -lrt -ldl -lpthread -lonnx -lonnx_proto -lprotobuf -lstdc++ -lm -Wl,--end-group

Expand Down
2 changes: 2 additions & 0 deletions posts/TensorRT-introduction/simpleOnnx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <memory>
#include <string>
#include <vector>
#include <cmath>
#include <numeric>

using namespace nvinfer1;
using namespace std;
Expand Down
2 changes: 2 additions & 0 deletions posts/TensorRT-introduction/simpleOnnx_1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <memory>
#include <string>
#include <vector>
#include <cmath>
#include <numeric>

using namespace nvinfer1;
using namespace std;
Expand Down
2 changes: 2 additions & 0 deletions posts/TensorRT-introduction/simpleOnnx_2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <memory>
#include <string>
#include <vector>
#include <cmath>
#include <numeric>

using namespace nvinfer1;
using namespace std;
Expand Down