Skip to content
Merged
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
5 changes: 5 additions & 0 deletions trtx/src/host_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ impl<'builder> Deref for HostMemory<'builder> {
self.as_ref()
}
}

/// # Safety:
///
/// This a wrapper around C++ container on the TRT side that is safe to send to another thread
unsafe impl Send for HostMemory<'_> {}
Loading