Skip to content

Latest commit

 

History

History
 
 

cpp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

C++ API

Targets in module create the user facing C++ library for the Torch-TensorRT core.

Building libtorchtrt.so

Debug build

bazel build //cpp/lib:libtorchtrt.so --compilation_mode=dbg

Release build

bazel build //cpp/lib:libtorchtrt.so -c opt

Usage

#include "torch_tensorrt/torch_tensorrt.h"