Function TRITONSERVER_ApiVersion

Function Documentation

TRITONSERVER_Error *TRITONSERVER_ApiVersion(uint32_t *major, uint32_t *minor)

Get the TRITONBACKEND API version supported by the Triton shared library.

This value can be compared against the TRITONSERVER_API_VERSION_MAJOR and TRITONSERVER_API_VERSION_MINOR used to build the client to ensure that Triton shared library is compatible with the client.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • major: Returns the TRITONSERVER API major version supported by Triton.

  • minor: Returns the TRITONSERVER API minor version supported by Triton.