|
triton_cpp v1.2.1
Header-only C++ wrapper for NVIDIA Triton Inference Server clients
|
Own a POSIX shared-memory mapping used by the Triton client. More...
#include <shm.hpp>
Public Member Functions | |
| SharedMemoryRegion (const std::string &key, std::int64_t size) | |
| Create and map a system shared-memory region. | |
| SharedMemoryRegion (const SharedMemoryRegion &)=delete | |
| SharedMemoryRegion & | operator= (const SharedMemoryRegion &)=delete |
| SharedMemoryRegion (SharedMemoryRegion &&) noexcept=default | |
| SharedMemoryRegion & | operator= (SharedMemoryRegion &&)=delete |
| ~SharedMemoryRegion ()=default | |
| uint8_t * | getAddress () const |
| std::string | getKey () const |
Own a POSIX shared-memory mapping used by the Triton client.
Construction creates, sizes, and maps the region. Destruction unmaps and unlinks it.
|
inline |
|
delete |
|
defaultnoexcept |
|
default |
|
inline |
Definition at line 131 of file shm.hpp.
References triton_cpp::detail::PosixSharedMemory::address().
|
inline |
Definition at line 133 of file shm.hpp.
References triton_cpp::detail::PosixSharedMemory::key().
|
delete |
|
delete |