Function TRTSERVER_SharedMemoryBlockMemoryType

Function Documentation

TRTSERVER_Error *TRTSERVER_SharedMemoryBlockMemoryType(TRTSERVER_SharedMemoryBlock *shared_memory_block, TRTSERVER_Memory_Type *memory_type)

Get the memory type 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: Returns the memory type of the shared memory block.