Expand description
Raw FFI bindings to NVIDIA TensorRT-RTX using autocxx
⚠️ EXPERIMENTAL - NOT FOR PRODUCTION USE
This crate is in early experimental development. The API is unstable and will change. This is NOT production-ready software. Use at your own risk.
This crate provides low-level, unsafe bindings to the TensorRT-RTX C++ library.
For safe, ergonomic Rust API, use the trtx crate instead.
§Architecture
This crate uses a hybrid approach:
- autocxx for direct C++ bindings to TensorRT classes
- Minimal C wrapper for Logger callbacks (virtual methods)
§Safety
All functions in this crate are unsafe as they directly call into C++ code
and perform no safety checks. Callers must ensure:
- Pointers are valid and properly aligned
- Lifetimes are managed correctly
- Thread safety requirements are met
- CUDA context is properly initialized
Re-exports§
pub use real_bindings::*;