Function TRTSERVER_SharedMemoryBlockMemoryTypeId¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_SharedMemoryBlockMemoryTypeId
(TRTSERVER_SharedMemoryBlock *shared_memory_block, int64_t *memory_type_id)¶ Get the memory type id of a shared memory block object.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
shared_memory_block
: The object whose memory type is required.memory_type_id
: The device ID if the region is in GPU shared memory.