Function TRITONSERVER_MemoryTypeString

Function Documentation

const char *TRITONSERVER_MemoryTypeString(TRITONSERVER_MemoryType memtype)

Get the string representation of a memory type.

The returned string is not owned by the caller and so should not be modified or freed.

Return

The string representation of the memory type.

Parameters
  • memtype: The memory type.