NVIDIA DeepStream SDK API Reference

9.1 Release
sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #pragma once
19 
21 
22 #include <stdbool.h>
23 #include <stddef.h>
24 #include <stdint.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #ifdef _COMPILING_TRITONSERVER
31 #if defined(_MSC_VER)
32 #define TRITONSERVER_DECLSPEC __declspec(dllexport)
33 #elif defined(__GNUC__)
34 #define TRITONSERVER_DECLSPEC __attribute__((__visibility__("default")))
35 #else
36 #define TRITONSERVER_DECLSPEC
37 #endif
38 #else
39 #if defined(_MSC_VER)
40 #define TRITONSERVER_DECLSPEC __declspec(dllimport)
41 #else
42 #define TRITONSERVER_DECLSPEC
43 #endif
44 #endif
45 
46 struct TRITONSERVER_BufferAttributes;
47 struct TRITONSERVER_Error;
48 struct TRITONSERVER_InferenceRequest;
49 struct TRITONSERVER_InferenceResponse;
50 struct TRITONSERVER_InferenceTrace;
51 struct TRITONSERVER_Message;
52 struct TRITONSERVER_Metrics;
53 struct TRITONSERVER_Parameter;
54 struct TRITONSERVER_ResponseAllocator;
55 struct TRITONSERVER_Server;
56 struct TRITONSERVER_ServerOptions;
57 struct TRITONSERVER_Metric;
58 struct TRITONSERVER_MetricFamily;
59 struct TRITONSERVER_MetricArgs;
60 
86 #define TRITONSERVER_API_VERSION_MAJOR 1
87 #define TRITONSERVER_API_VERSION_MINOR 34
88 
100 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ApiVersion(
101  uint32_t* major, uint32_t* minor);
102 
124 
131  TRITONSERVER_DataType datatype);
132 
140 TRITONSERVER_StringToDataType(const char* dtype);
141 
148 TRITONSERVER_DECLSPEC uint32_t
150 
160 
168  TRITONSERVER_MemoryType memtype);
169 
181 
189  TRITONSERVER_ParameterType paramtype);
190 
201 TRITONSERVER_DECLSPEC struct TRITONSERVER_Parameter* TRITONSERVER_ParameterNew(
202  const char* name, const TRITONSERVER_ParameterType type, const void* value);
203 
214 TRITONSERVER_DECLSPEC struct TRITONSERVER_Parameter*
216  const char* name, const void* byte_ptr, const uint64_t size);
217 
222  struct TRITONSERVER_Parameter* parameter);
223 
234 
243 
254 
285 
291  TRITONSERVER_LogLevel level);
292 
300 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_LogMessage(
301  TRITONSERVER_LogLevel level, const char* filename, const int line,
302  const char* msg);
303 
314 
326 
334 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ErrorNew(
335  TRITONSERVER_Error_Code code, const char* msg);
336 
341  struct TRITONSERVER_Error* error);
342 
348 TRITONSERVER_ErrorCode(struct TRITONSERVER_Error* error);
349 
358  struct TRITONSERVER_Error* error);
359 
368  struct TRITONSERVER_Error* error);
369 
375 
406 typedef struct TRITONSERVER_Error* (*TRITONSERVER_ResponseAllocatorAllocFn_t)(
407  struct TRITONSERVER_ResponseAllocator* allocator, const char* tensor_name,
408  size_t byte_size, TRITONSERVER_MemoryType memory_type,
409  int64_t memory_type_id, void* userp, void** buffer, void** buffer_userp,
410  TRITONSERVER_MemoryType* actual_memory_type,
411  int64_t* actual_memory_type_id);
412 
435 typedef struct TRITONSERVER_Error* (
437  struct TRITONSERVER_ResponseAllocator* allocator, const char* tensor_name,
438  struct TRITONSERVER_BufferAttributes* buffer_attributes, void* userp,
439  void* buffer_userp);
440 
465 typedef struct TRITONSERVER_Error* (*TRITONSERVER_ResponseAllocatorQueryFn_t)(
466  struct TRITONSERVER_ResponseAllocator* allocator, void* userp,
467  const char* tensor_name, size_t* byte_size,
468  TRITONSERVER_MemoryType* memory_type, int64_t* memory_type_id);
469 
487 typedef struct TRITONSERVER_Error* (*TRITONSERVER_ResponseAllocatorReleaseFn_t)(
488  struct TRITONSERVER_ResponseAllocator* allocator, void* buffer,
489  void* buffer_userp, size_t byte_size, TRITONSERVER_MemoryType memory_type,
490  int64_t memory_type_id);
491 
501 typedef struct TRITONSERVER_Error* (*TRITONSERVER_ResponseAllocatorStartFn_t)(
502  struct TRITONSERVER_ResponseAllocator* allocator, void* userp);
503 
553 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
555  struct TRITONSERVER_ResponseAllocator** allocator,
559 
571 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
573  struct TRITONSERVER_ResponseAllocator* allocator,
575 
588 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
590  struct TRITONSERVER_ResponseAllocator* allocator,
592 
597 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
599  struct TRITONSERVER_ResponseAllocator* allocator);
600 
605 
612 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
614  struct TRITONSERVER_Message** message, const char* base, size_t byte_size);
615 
620 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MessageDelete(
621  struct TRITONSERVER_Message* message);
622 
634 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
636  struct TRITONSERVER_Message* message, const char** base, size_t* byte_size);
637 
642 
647 
652 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricsDelete(
653  struct TRITONSERVER_Metrics* metrics);
654 
675 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricsFormatted(
676  struct TRITONSERVER_Metrics* metrics, TRITONSERVER_MetricFormat format,
677  const char** base, size_t* byte_size);
678 
683 
707 
716 
731 
740 
748  struct TRITONSERVER_InferenceTrace* trace,
749  TRITONSERVER_InferenceTraceActivity activity, uint64_t timestamp_ns,
750  void* userp);
751 
759  struct TRITONSERVER_InferenceTrace* trace,
760  TRITONSERVER_InferenceTraceActivity activity, const char* name,
761  TRITONSERVER_DataType datatype, const void* base, size_t byte_size,
762  const int64_t* shape, uint64_t dim_count,
763  TRITONSERVER_MemoryType memory_type, int64_t memory_type_id, void* userp);
764 
771  struct TRITONSERVER_InferenceTrace* trace, void* userp);
772 
796 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_InferenceTraceNew(
797  struct TRITONSERVER_InferenceTrace** trace,
798  TRITONSERVER_InferenceTraceLevel level, uint64_t parent_id,
800  TRITONSERVER_InferenceTraceReleaseFn_t release_fn, void* trace_userp);
801 
827 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
829  struct TRITONSERVER_InferenceTrace** trace,
830  TRITONSERVER_InferenceTraceLevel level, uint64_t parent_id,
833  TRITONSERVER_InferenceTraceReleaseFn_t release_fn, void* trace_userp);
834 
842 TRITONSERVER_DECLSPEC TRITONSERVER_Error*
844  TRITONSERVER_InferenceTrace* trace, uint64_t timestamp,
845  const char* activity_name);
846 
851 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
852 TRITONSERVER_InferenceTraceDelete(struct TRITONSERVER_InferenceTrace* trace);
853 
860 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_InferenceTraceId(
861  struct TRITONSERVER_InferenceTrace* trace, uint64_t* id);
862 
870 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
872  struct TRITONSERVER_InferenceTrace* trace, uint64_t* parent_id);
873 
882 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
884  struct TRITONSERVER_InferenceTrace* trace, const char** model_name);
885 
892 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
894  struct TRITONSERVER_InferenceTrace* trace, int64_t* model_version);
895 
904 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
906  struct TRITONSERVER_InferenceTrace* trace, const char** request_id);
907 
916 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
918  struct TRITONSERVER_InferenceTrace* trace,
919  struct TRITONSERVER_InferenceTrace** child_trace);
920 
926 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
928  struct TRITONSERVER_InferenceTrace* trace, const char* trace_context);
929 
935 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
937  struct TRITONSERVER_InferenceTrace* trace, const char** trace_context);
938 
947 
953 
960 
966 
997  struct TRITONSERVER_InferenceRequest* request, const uint32_t flags,
998  void* userp);
999 
1018  struct TRITONSERVER_InferenceResponse* response, const uint32_t flags,
1019  void* userp);
1020 
1030 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1032  struct TRITONSERVER_InferenceRequest** inference_request,
1033  struct TRITONSERVER_Server* server, const char* model_name,
1034  const int64_t model_version);
1035 
1040 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1042  struct TRITONSERVER_InferenceRequest* inference_request);
1043 
1051 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1053  struct TRITONSERVER_InferenceRequest* inference_request, const char** id);
1054 
1060 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1062  struct TRITONSERVER_InferenceRequest* inference_request, const char* id);
1063 
1071 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1073  struct TRITONSERVER_InferenceRequest* inference_request, uint32_t* flags);
1074 
1082 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1084  struct TRITONSERVER_InferenceRequest* inference_request, uint32_t flags);
1085 
1097 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1099  struct TRITONSERVER_InferenceRequest* inference_request,
1100  uint64_t* correlation_id);
1101 
1113 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1115  struct TRITONSERVER_InferenceRequest* inference_request,
1116  const char** correlation_id);
1117 
1127 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1129  struct TRITONSERVER_InferenceRequest* inference_request,
1130  uint64_t correlation_id);
1131 
1141 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1143  struct TRITONSERVER_InferenceRequest* inference_request,
1144  const char* correlation_id);
1145 
1156 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1158  struct TRITONSERVER_InferenceRequest* inference_request);
1159 
1169 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1171  struct TRITONSERVER_InferenceRequest* inference_request,
1172  bool* is_cancelled);
1173 
1183 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1185  struct TRITONSERVER_InferenceRequest* inference_request,
1186  uint32_t* priority);
1187 
1195 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1197  struct TRITONSERVER_InferenceRequest* inference_request,
1198  uint64_t* priority);
1199 
1209 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1211  struct TRITONSERVER_InferenceRequest* inference_request, uint32_t priority);
1212 
1220 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1222  struct TRITONSERVER_InferenceRequest* inference_request, uint64_t priority);
1223 
1230 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1232  struct TRITONSERVER_InferenceRequest* inference_request,
1233  uint64_t* timeout_us);
1234 
1241 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1243  struct TRITONSERVER_InferenceRequest* inference_request,
1244  uint64_t timeout_us);
1245 
1256 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1258  struct TRITONSERVER_InferenceRequest* inference_request, const char* name,
1259  const TRITONSERVER_DataType datatype, const int64_t* shape,
1260  uint64_t dim_count);
1261 
1272 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1274  struct TRITONSERVER_InferenceRequest* inference_request, const char* name);
1275 
1281 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1283  struct TRITONSERVER_InferenceRequest* inference_request, const char* name);
1284 
1289 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1291  struct TRITONSERVER_InferenceRequest* inference_request);
1292 
1307 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1309  struct TRITONSERVER_InferenceRequest* inference_request, const char* name,
1310  const void* base, size_t byte_size, TRITONSERVER_MemoryType memory_type,
1311  int64_t memory_type_id);
1312 
1332 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1334  struct TRITONSERVER_InferenceRequest* inference_request, const char* name,
1335  const void* base, size_t byte_size, TRITONSERVER_MemoryType memory_type,
1336  int64_t memory_type_id, const char* host_policy_name);
1337 
1350 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1352  struct TRITONSERVER_InferenceRequest* inference_request, const char* name,
1353  const void* base, struct TRITONSERVER_BufferAttributes* buffer_attributes);
1354 
1361 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1363  struct TRITONSERVER_InferenceRequest* inference_request, const char* name);
1364 
1370 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1372  struct TRITONSERVER_InferenceRequest* inference_request, const char* name);
1373 
1379 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1381  struct TRITONSERVER_InferenceRequest* inference_request, const char* name);
1382 
1387 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1389  struct TRITONSERVER_InferenceRequest* inference_request);
1390 
1401 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1403  struct TRITONSERVER_InferenceRequest* inference_request,
1404  TRITONSERVER_InferenceRequestReleaseFn_t request_release_fn,
1405  void* request_release_userp);
1406 
1427 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1429  struct TRITONSERVER_InferenceRequest* inference_request,
1430  struct TRITONSERVER_ResponseAllocator* response_allocator,
1431  void* response_allocator_userp,
1433  void* response_userp);
1434 
1441 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1443  struct TRITONSERVER_InferenceRequest* request, const char* key,
1444  const char* value);
1445 
1452 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1454  struct TRITONSERVER_InferenceRequest* request, const char* key,
1455  const int64_t value);
1456 
1463 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1465  struct TRITONSERVER_InferenceRequest* request, const char* key,
1466  const bool value);
1467 
1474 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1476  struct TRITONSERVER_InferenceRequest* request, const char* key,
1477  const double value);
1478 
1485 
1490 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1492  struct TRITONSERVER_InferenceResponse* inference_response);
1493 
1502 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1504  struct TRITONSERVER_InferenceResponse* inference_response);
1505 
1516 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1518  struct TRITONSERVER_InferenceResponse* inference_response,
1519  const char** model_name, int64_t* model_version);
1520 
1530 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1532  struct TRITONSERVER_InferenceResponse* inference_response,
1533  const char** request_id);
1534 
1540 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1542  struct TRITONSERVER_InferenceResponse* inference_response, uint32_t* count);
1543 
1575 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1577  struct TRITONSERVER_InferenceResponse* inference_response,
1578  const uint32_t index, const char** name, TRITONSERVER_ParameterType* type,
1579  const void** vvalue);
1580 
1586 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1588  struct TRITONSERVER_InferenceResponse* inference_response, uint32_t* count);
1589 
1612 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1614  struct TRITONSERVER_InferenceResponse* inference_response,
1615  const uint32_t index, const char** name, TRITONSERVER_DataType* datatype,
1616  const int64_t** shape, uint64_t* dim_count, const void** base,
1617  size_t* byte_size, TRITONSERVER_MemoryType* memory_type,
1618  int64_t* memory_type_id, void** userp);
1619 
1633 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1635  struct TRITONSERVER_InferenceResponse* inference_response,
1636  const uint32_t index, const size_t class_index, const char** label);
1637 
1642 
1649 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1651  struct TRITONSERVER_BufferAttributes** buffer_attributes);
1652 
1657 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1659  struct TRITONSERVER_BufferAttributes* buffer_attributes);
1660 
1667 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1669  struct TRITONSERVER_BufferAttributes* buffer_attributes,
1670  int64_t memory_type_id);
1671 
1677 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1679  struct TRITONSERVER_BufferAttributes* buffer_attributes,
1680  TRITONSERVER_MemoryType memory_type);
1681 
1688 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1690  struct TRITONSERVER_BufferAttributes* buffer_attributes,
1691  void* cuda_ipc_handle);
1692 
1698 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1700  struct TRITONSERVER_BufferAttributes* buffer_attributes, size_t byte_size);
1701 
1708 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1710  struct TRITONSERVER_BufferAttributes* buffer_attributes,
1711  int64_t* memory_type_id);
1712 
1719 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1721  struct TRITONSERVER_BufferAttributes* buffer_attributes,
1722  TRITONSERVER_MemoryType* memory_type);
1723 
1731 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1733  struct TRITONSERVER_BufferAttributes* buffer_attributes,
1734  void** cuda_ipc_handle);
1735 
1742 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1744  struct TRITONSERVER_BufferAttributes* buffer_attributes, size_t* byte_size);
1745 
1746 
1751 
1758 
1764 
1771 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerOptionsNew(
1772  struct TRITONSERVER_ServerOptions** options);
1773 
1778 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1779 TRITONSERVER_ServerOptionsDelete(struct TRITONSERVER_ServerOptions* options);
1780 
1787 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1789  struct TRITONSERVER_ServerOptions* options, const char* server_id);
1790 
1800 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1802  struct TRITONSERVER_ServerOptions* options,
1803  const char* model_repository_path);
1804 
1825 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1827  struct TRITONSERVER_ServerOptions* options,
1829 
1839 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1841  struct TRITONSERVER_ServerOptions* options, const char* model_name);
1842 
1850 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1852  struct TRITONSERVER_ServerOptions* options, bool strict);
1853 
1860 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1862  struct TRITONSERVER_ServerOptions* options, const char* model_config_name);
1863 
1878 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1880  struct TRITONSERVER_ServerOptions* options,
1882 
1896 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1898  struct TRITONSERVER_ServerOptions* options, const char* resource_name,
1899  const size_t resource_count, const int device);
1900 
1909 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1911  struct TRITONSERVER_ServerOptions* options, uint64_t size);
1912 
1922 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1924  struct TRITONSERVER_ServerOptions* options, int gpu_device, uint64_t size);
1925 
1933 TRITONSERVER_DECLSPEC TRITONSERVER_Error*
1935  TRITONSERVER_ServerOptions* options, int gpu_device,
1936  size_t cuda_virtual_address_size);
1937 
1947 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1949  struct TRITONSERVER_ServerOptions* options, uint64_t size);
1950 
1972 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1974  struct TRITONSERVER_ServerOptions* options, const char* cache_name,
1975  const char* config_json);
1976 
1983 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1985  struct TRITONSERVER_ServerOptions* options, const char* cache_dir);
1986 
1993 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
1995  struct TRITONSERVER_ServerOptions* options, double cc);
1996 
2003 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2005  struct TRITONSERVER_ServerOptions* options, bool exit);
2006 
2013 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2015  struct TRITONSERVER_ServerOptions* options, bool strict);
2016 
2023 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2025  struct TRITONSERVER_ServerOptions* options, unsigned int timeout);
2026 
2032 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2034  struct TRITONSERVER_ServerOptions* options, unsigned int thread_count);
2035 
2041 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2043  struct TRITONSERVER_ServerOptions* options, unsigned int thread_count);
2044 
2050 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2052  struct TRITONSERVER_ServerOptions* options, unsigned int retry_count);
2053 
2060 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2062  struct TRITONSERVER_ServerOptions* options, bool enable_namespace);
2063 
2072 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2074  struct TRITONSERVER_ServerOptions* options, bool enable_peer_access);
2075 
2083 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2085  struct TRITONSERVER_ServerOptions* options, const char* file);
2086 
2092 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2094  struct TRITONSERVER_ServerOptions* options, bool log);
2095 
2101 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2103  struct TRITONSERVER_ServerOptions* options, bool log);
2104 
2110 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2112  struct TRITONSERVER_ServerOptions* options, bool log);
2113 
2119 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2121  struct TRITONSERVER_ServerOptions* options,
2123 
2129 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2131  struct TRITONSERVER_ServerOptions* options, int level);
2132 
2138 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2140  struct TRITONSERVER_ServerOptions* options, bool metrics);
2141 
2149 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2151  struct TRITONSERVER_ServerOptions* options, bool gpu_metrics);
2152 
2160 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2162  struct TRITONSERVER_ServerOptions* options, bool cpu_metrics);
2163 
2171 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2173  struct TRITONSERVER_ServerOptions* options, uint64_t metrics_interval_ms);
2174 
2184 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2186  struct TRITONSERVER_ServerOptions* options, const char* backend_dir);
2187 
2196 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2198  struct TRITONSERVER_ServerOptions* options, const char* repoagent_dir);
2199 
2212 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2214  struct TRITONSERVER_ServerOptions* options,
2215  const TRITONSERVER_InstanceGroupKind kind, const int device_id,
2216  const double fraction);
2217 
2226 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2228  struct TRITONSERVER_ServerOptions* options, const char* backend_name,
2229  const char* setting, const char* value);
2230 
2238 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2240  struct TRITONSERVER_ServerOptions* options, const char* policy_name,
2241  const char* setting, const char* value);
2242 
2251 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2253  struct TRITONSERVER_ServerOptions* options, const char* name,
2254  const char* setting, const char* value);
2255 
2260 
2266 
2271 
2278 
2286 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerNew(
2287  struct TRITONSERVER_Server** server,
2288  struct TRITONSERVER_ServerOptions* options);
2289 
2295 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerDelete(
2296  struct TRITONSERVER_Server* server);
2297 
2303 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerStop(
2304  struct TRITONSERVER_Server* server);
2305 
2313 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2315  struct TRITONSERVER_Server* server, unsigned int timeout);
2316 
2325 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2327  struct TRITONSERVER_Server* server, const char* repository_path,
2328  const struct TRITONSERVER_Parameter** name_mapping,
2329  const uint32_t mapping_count);
2330 
2336 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2338  struct TRITONSERVER_Server* server, const char* repository_path);
2339 
2345 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2346 TRITONSERVER_ServerPollModelRepository(struct TRITONSERVER_Server* server);
2347 
2353 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerIsLive(
2354  struct TRITONSERVER_Server* server, bool* live);
2355 
2361 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerIsReady(
2362  struct TRITONSERVER_Server* server, bool* ready);
2363 
2373 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2375  struct TRITONSERVER_Server* server, const char* model_name,
2376  const int64_t model_version, bool* ready);
2377 
2402 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2404  struct TRITONSERVER_Server* server, const char* model_name,
2405  const int64_t model_version, uint32_t* flags, void** voidp);
2406 
2424 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2426  struct TRITONSERVER_Server* server, const char* model_name,
2427  const int64_t model_version, uint32_t* txn_flags, void** voidp);
2428 
2436 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerMetadata(
2437  struct TRITONSERVER_Server* server,
2438  struct TRITONSERVER_Message** server_metadata);
2439 
2451 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2453  struct TRITONSERVER_Server* server, const char* model_name,
2454  const int64_t model_version, struct TRITONSERVER_Message** model_metadata);
2455 
2468 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2470  struct TRITONSERVER_Server* server, const char* model_name,
2471  const int64_t model_version, struct TRITONSERVER_Message** model_stats);
2472 
2487 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerModelConfig(
2488  struct TRITONSERVER_Server* server, const char* model_name,
2489  const int64_t model_version, const uint32_t config_version,
2490  struct TRITONSERVER_Message** model_config);
2491 
2507 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerModelIndex(
2508  struct TRITONSERVER_Server* server, uint32_t flags,
2509  struct TRITONSERVER_Message** model_index);
2510 
2519 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerLoadModel(
2520  struct TRITONSERVER_Server* server, const char* model_name);
2521 
2536 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2538  struct TRITONSERVER_Server* server, const char* model_name,
2539  const struct TRITONSERVER_Parameter** parameters,
2540  const uint64_t parameter_count);
2541 
2551 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerUnloadModel(
2552  struct TRITONSERVER_Server* server, const char* model_name);
2553 
2565 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2567  struct TRITONSERVER_Server* server, const char* model_name);
2568 
2576 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerMetrics(
2577  struct TRITONSERVER_Server* server, struct TRITONSERVER_Metrics** metrics);
2578 
2600 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_ServerInferAsync(
2601  struct TRITONSERVER_Server* server,
2602  struct TRITONSERVER_InferenceRequest* inference_request,
2603  struct TRITONSERVER_InferenceTrace* trace);
2604 
2614 
2626 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricFamilyNew(
2627  struct TRITONSERVER_MetricFamily** family,
2628  const TRITONSERVER_MetricKind kind, const char* name,
2629  const char* description);
2630 
2638 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2639 TRITONSERVER_MetricFamilyDelete(struct TRITONSERVER_MetricFamily* family);
2640 
2646 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2648  struct TRITONSERVER_MetricFamily* family, TRITONSERVER_MetricKind* kind);
2649 
2656 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricArgsNew(
2657  struct TRITONSERVER_MetricArgs** args);
2658 
2667 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
2669  struct TRITONSERVER_MetricArgs* args, const double* buckets,
2670  const uint64_t buckets_count);
2671 
2676 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricArgsDelete(
2677  struct TRITONSERVER_MetricArgs* args);
2678 
2691 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricNew(
2692  struct TRITONSERVER_Metric** metric,
2693  struct TRITONSERVER_MetricFamily* family,
2694  const struct TRITONSERVER_Parameter** labels, const uint64_t label_count);
2695 
2712 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricNewWithArgs(
2713  struct TRITONSERVER_Metric** metric,
2714  struct TRITONSERVER_MetricFamily* family,
2715  const struct TRITONSERVER_Parameter** labels, const uint64_t label_count,
2716  const struct TRITONSERVER_MetricArgs* args);
2717 
2725 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricDelete(
2726  struct TRITONSERVER_Metric* metric);
2727 
2736 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricValue(
2737  struct TRITONSERVER_Metric* metric, double* value);
2738 
2749 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricIncrement(
2750  struct TRITONSERVER_Metric* metric, double value);
2751 
2759 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricSet(
2760  struct TRITONSERVER_Metric* metric, double value);
2761 
2769 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricObserve(
2770  struct TRITONSERVER_Metric* metric, double value);
2771 
2777 TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_GetMetricKind(
2778  struct TRITONSERVER_Metric* metric, TRITONSERVER_MetricKind* kind);
2779 
2780 #ifdef __cplusplus
2781 }
2782 #endif
TRITONSERVER_REQUEST_FLAG_SEQUENCE_END
@ TRITONSERVER_REQUEST_FLAG_SEQUENCE_END
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:951
TRITONSERVER_ServerOptionsDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsDelete(struct TRITONSERVER_ServerOptions *options)
Delete a server options object.
TRITONSERVER_TRACE_LEVEL_TIMESTAMPS
@ TRITONSERVER_TRACE_LEVEL_TIMESTAMPS
Record timestamps for the inference request.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:703
TRITONSERVER_MetricNewWithArgs
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricNewWithArgs(struct TRITONSERVER_Metric **metric, struct TRITONSERVER_MetricFamily *family, const struct TRITONSERVER_Parameter **labels, const uint64_t label_count, const struct TRITONSERVER_MetricArgs *args)
Create a new metric object.
TRITONSERVER_ServerOptionsSetPinnedMemoryPoolByteSize
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetPinnedMemoryPoolByteSize(struct TRITONSERVER_ServerOptions *options, uint64_t size)
Set the total pinned memory byte size that the server can allocate in a server options.
TRITONSERVER_PARAMETER_INT
@ TRITONSERVER_PARAMETER_INT
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:176
TRITONSERVER_ServerOptionsSetCudaMemoryPoolByteSize
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetCudaMemoryPoolByteSize(struct TRITONSERVER_ServerOptions *options, int gpu_device, uint64_t size)
Set the total CUDA memory byte size that the server can allocate on given GPU device in a server opti...
tritonserver_modelindexflag_enum
tritonserver_modelindexflag_enum
Model index flags. The enum values must be power-of-2 values.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2268
TRITONSERVER_INSTANCEGROUPKIND_GPU
@ TRITONSERVER_INSTANCEGROUPKIND_GPU
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:231
TRITONSERVER_InferenceTraceLevel
enum tritonserver_tracelevel_enum TRITONSERVER_InferenceTraceLevel
TRITONSERVER_InferenceTrace.
TRITONSERVER_ServerOptionsSetCacheConfig
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetCacheConfig(struct TRITONSERVER_ServerOptions *options, const char *cache_name, const char *config_json)
Set the cache config that will be used to initialize the cache implementation for "cache_name".
TRITONSERVER_ServerModelIndex
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerModelIndex(struct TRITONSERVER_Server *server, uint32_t flags, struct TRITONSERVER_Message **model_index)
Get the index of all unique models in the model repositories as a TRITONSERVER_Message object.
TRITONSERVER_PARAMETER_BYTES
@ TRITONSERVER_PARAMETER_BYTES
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:179
TRITONSERVER_BufferAttributesByteSize
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_BufferAttributesByteSize(struct TRITONSERVER_BufferAttributes *buffer_attributes, size_t *byte_size)
Get the byte size field of the buffer attributes.
TRITONSERVER_InstanceGroupKindString
const TRITONSERVER_DECLSPEC char * TRITONSERVER_InstanceGroupKindString(TRITONSERVER_InstanceGroupKind kind)
Get the string representation of an instance-group kind.
TRITONSERVER_PARAMETER_STRING
@ TRITONSERVER_PARAMETER_STRING
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:175
TRITONSERVER_BufferAttributesDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_BufferAttributesDelete(struct TRITONSERVER_BufferAttributes *buffer_attributes)
Delete a buffer attributes object.
TRITONSERVER_TYPE_BOOL
@ TRITONSERVER_TYPE_BOOL
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:109
TRITONSERVER_ApiVersion
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ApiVersion(uint32_t *major, uint32_t *minor)
Get the TRITONBACKEND API version supported by the Triton shared library.
TRITONSERVER_METRIC_KIND_GAUGE
@ TRITONSERVER_METRIC_KIND_GAUGE
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2611
TRITONSERVER_ResponseCompleteFlag
enum tritonserver_responsecompleteflag_enum TRITONSERVER_ResponseCompleteFlag
Inference response complete flags.
TRITONSERVER_TRACE_CUSTOM_ACTIVITY
@ TRITONSERVER_TRACE_CUSTOM_ACTIVITY
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:729
TRITONSERVER_metrickind_enum
TRITONSERVER_metrickind_enum
TRITONSERVER_MetricKind.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2609
TRITONSERVER_InferenceRequestAppendInputDataWithBufferAttributes
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestAppendInputDataWithBufferAttributes(struct TRITONSERVER_InferenceRequest *inference_request, const char *name, const void *base, struct TRITONSERVER_BufferAttributes *buffer_attributes)
Assign a buffer of data to an input.
TRITONSERVER_TRACE_COMPUTE_START
@ TRITONSERVER_TRACE_COMPUTE_START
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:721
TRITONSERVER_instancegroupkind_enum
TRITONSERVER_instancegroupkind_enum
TRITONSERVER_InstanceGroupKind.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:228
TRITONSERVER_MemoryType
enum TRITONSERVER_memorytype_enum TRITONSERVER_MemoryType
TRITONSERVER_MemoryType.
TRITONSERVER_ResponseAllocatorStartFn_t
struct TRITONSERVER_Error *(* TRITONSERVER_ResponseAllocatorStartFn_t)(struct TRITONSERVER_ResponseAllocator *allocator, void *userp)
Type for function that is called to indicate that subsequent allocation requests will refer to a new ...
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:501
TRITONSERVER_ServerOptionsSetMetrics
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetMetrics(struct TRITONSERVER_ServerOptions *options, bool metrics)
Enable or disable metrics collection in a server options.
TRITONSERVER_InferenceResponseDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceResponseDelete(struct TRITONSERVER_InferenceResponse *inference_response)
TRITONSERVER_InferenceResponse.
TRITONSERVER_REQUEST_RELEASE_RESCHEDULE
@ TRITONSERVER_REQUEST_RELEASE_RESCHEDULE
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:958
TRITONSERVER_InferenceRequestNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestNew(struct TRITONSERVER_InferenceRequest **inference_request, struct TRITONSERVER_Server *server, const char *model_name, const int64_t model_version)
Create a new inference request object.
TRITONSERVER_ServerInferAsync
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerInferAsync(struct TRITONSERVER_Server *server, struct TRITONSERVER_InferenceRequest *inference_request, struct TRITONSERVER_InferenceTrace *trace)
Perform inference using the meta-data and inputs supplied by the 'inference_request'.
TRITONSERVER_InferenceRequestSetId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetId(struct TRITONSERVER_InferenceRequest *inference_request, const char *id)
Set the ID for a request.
TRITONSERVER_ServerOptionsSetModelLoadRetryCount
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetModelLoadRetryCount(struct TRITONSERVER_ServerOptions *options, unsigned int retry_count)
Set the number of retry to load a model in a server options.
TRITONSERVER_InferenceRequestFlags
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestFlags(struct TRITONSERVER_InferenceRequest *inference_request, uint32_t *flags)
Get the flag(s) associated with a request.
TRITONSERVER_TYPE_INVALID
@ TRITONSERVER_TYPE_INVALID
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:108
TRITONSERVER_ServerOptionsSetStartupModel
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetStartupModel(struct TRITONSERVER_ServerOptions *options, const char *model_name)
Set the model to be loaded at startup in a server options.
TRITONSERVER_MetricNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricNew(struct TRITONSERVER_Metric **metric, struct TRITONSERVER_MetricFamily *family, const struct TRITONSERVER_Parameter **labels, const uint64_t label_count)
Create a new metric object.
TRITONSERVER_MetricArgsSetHistogram
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricArgsSetHistogram(struct TRITONSERVER_MetricArgs *args, const double *buckets, const uint64_t buckets_count)
Set metric args with histogram metric parameter.
TRITONSERVER_MEMORY_CPU
@ TRITONSERVER_MEMORY_CPU
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:156
TRITONSERVER_ServerOptionsSetBackendConfig
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetBackendConfig(struct TRITONSERVER_ServerOptions *options, const char *backend_name, const char *setting, const char *value)
Set a configuration setting for a named backend in a server options.
TRITONSERVER_InferenceRequestSetStringParameter
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetStringParameter(struct TRITONSERVER_InferenceRequest *request, const char *key, const char *value)
Set a string parameter in the request.
TRITONSERVER_REQUEST_RELEASE_ALL
@ TRITONSERVER_REQUEST_RELEASE_ALL
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:957
TRITONSERVER_MetricKind
enum TRITONSERVER_metrickind_enum TRITONSERVER_MetricKind
TRITONSERVER_MetricKind.
TRITONSERVER_ServerDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerDelete(struct TRITONSERVER_Server *server)
Delete a server object.
tritonserver_responsecompleteflag_enum
tritonserver_responsecompleteflag_enum
Inference response complete flags.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:963
TRITONSERVER_LOG_INFO
@ TRITONSERVER_LOG_INFO
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:249
TRITONSERVER_TRACE_REQUEST_START
@ TRITONSERVER_TRACE_REQUEST_START
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:719
TRITONSERVER_ParameterNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Parameter * TRITONSERVER_ParameterNew(const char *name, const TRITONSERVER_ParameterType type, const void *value)
Create a new parameter object.
TRITONSERVER_ResponseAllocatorQueryFn_t
struct TRITONSERVER_Error *(* TRITONSERVER_ResponseAllocatorQueryFn_t)(struct TRITONSERVER_ResponseAllocator *allocator, void *userp, const char *tensor_name, size_t *byte_size, TRITONSERVER_MemoryType *memory_type, int64_t *memory_type_id)
Type for function that is called to query the allocator's preferred memory type and memory type ID.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:465
TRITONSERVER_ServerOptionsSetExitTimeout
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetExitTimeout(struct TRITONSERVER_ServerOptions *options, unsigned int timeout)
Set the exit timeout, in seconds, for the server in a server options.
TRITONSERVER_DataTypeByteSize
TRITONSERVER_DECLSPEC uint32_t TRITONSERVER_DataTypeByteSize(TRITONSERVER_DataType datatype)
Get the size of a Triton datatype in bytes.
TRITONSERVER_ServerIsReady
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerIsReady(struct TRITONSERVER_Server *server, bool *ready)
Is the server ready?
TRITONSERVER_InferenceRequestTimeoutMicroseconds
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestTimeoutMicroseconds(struct TRITONSERVER_InferenceRequest *inference_request, uint64_t *timeout_us)
Get the timeout for a request, in microseconds.
TRITONSERVER_DataTypeString
const TRITONSERVER_DECLSPEC char * TRITONSERVER_DataTypeString(TRITONSERVER_DataType datatype)
Get the string representation of a data type.
TRITONSERVER_InferenceRequestCorrelationIdString
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestCorrelationIdString(struct TRITONSERVER_InferenceRequest *inference_request, const char **correlation_id)
Get the correlation ID of the inference request as a string.
TRITONSERVER_ServerOptionsSetRepoAgentDirectory
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetRepoAgentDirectory(struct TRITONSERVER_ServerOptions *options, const char *repoagent_dir)
Set the directory containing repository agent shared libraries.
TRITONSERVER_InferenceRequestRemoveAllInputData
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestRemoveAllInputData(struct TRITONSERVER_InferenceRequest *inference_request, const char *name)
Clear all input data from an input, releasing ownership of the buffer(s) that were appended to the in...
TRITONSERVER_InferenceRequestSetCorrelationId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetCorrelationId(struct TRITONSERVER_InferenceRequest *inference_request, uint64_t correlation_id)
Set the correlation ID of the inference request to be an unsigned integer.
TRITONSERVER_RequestFlag
enum tritonserver_requestflag_enum TRITONSERVER_RequestFlag
TRITONSERVER_InferenceRequest.
TRITONSERVER_TRACE_LEVEL_TENSORS
@ TRITONSERVER_TRACE_LEVEL_TENSORS
Record input and output tensor values for the inference request.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:705
TRITONSERVER_ParameterTypeString
const TRITONSERVER_DECLSPEC char * TRITONSERVER_ParameterTypeString(TRITONSERVER_ParameterType paramtype)
Get the string representation of a parameter type.
TRITONSERVER_ResponseAllocatorSetQueryFunction
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ResponseAllocatorSetQueryFunction(struct TRITONSERVER_ResponseAllocator *allocator, TRITONSERVER_ResponseAllocatorQueryFn_t query_fn)
Set the query function to a response allocator object.
TRITONSERVER_ServerOptionsSetStrictModelConfig
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetStrictModelConfig(struct TRITONSERVER_ServerOptions *options, bool strict)
Enable or disable strict model configuration handling in a server options.
TRITONSERVER_RESPONSE_COMPLETE_FINAL
@ TRITONSERVER_RESPONSE_COMPLETE_FINAL
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:964
TRITONSERVER_InferenceTraceReportActivity
TRITONSERVER_DECLSPEC TRITONSERVER_Error * TRITONSERVER_InferenceTraceReportActivity(TRITONSERVER_InferenceTrace *trace, uint64_t timestamp, const char *activity_name)
Report a trace activity.
TRITONSERVER_InferenceTraceReleaseFn_t
void(* TRITONSERVER_InferenceTraceReleaseFn_t)(struct TRITONSERVER_InferenceTrace *trace, void *userp)
Type for trace release callback function.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:770
TRITONSERVER_InferenceResponseOutput
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceResponseOutput(struct TRITONSERVER_InferenceResponse *inference_response, const uint32_t index, const char **name, TRITONSERVER_DataType *datatype, const int64_t **shape, uint64_t *dim_count, const void **base, size_t *byte_size, TRITONSERVER_MemoryType *memory_type, int64_t *memory_type_id, void **userp)
Get all information about an output tensor.
TRITONSERVER_InferenceRequestSetTimeoutMicroseconds
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetTimeoutMicroseconds(struct TRITONSERVER_InferenceRequest *inference_request, uint64_t timeout_us)
Set the timeout for a request, in microseconds.
TRITONSERVER_MemoryTypeString
const TRITONSERVER_DECLSPEC char * TRITONSERVER_MemoryTypeString(TRITONSERVER_MemoryType memtype)
Get the string representation of a memory type.
TRITONSERVER_InferenceRequestAddRequestedOutput
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestAddRequestedOutput(struct TRITONSERVER_InferenceRequest *inference_request, const char *name)
Add an output request to an inference request.
TRITONSERVER_TYPE_UINT64
@ TRITONSERVER_TYPE_UINT64
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:113
TRITONSERVER_BufferAttributesMemoryType
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_BufferAttributesMemoryType(struct TRITONSERVER_BufferAttributes *buffer_attributes, TRITONSERVER_MemoryType *memory_type)
Get the memory type field of the buffer attributes.
TRITONSERVER_LOG_WARN
@ TRITONSERVER_LOG_WARN
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:250
TRITONSERVER_InferenceResponseError
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceResponseError(struct TRITONSERVER_InferenceResponse *inference_response)
Return the error status of an inference response.
TRITONSERVER_ServerOptionsSetRateLimiterMode
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetRateLimiterMode(struct TRITONSERVER_ServerOptions *options, TRITONSERVER_RateLimitMode mode)
Set the rate limit mode in a server options.
TRITONSERVER_TRACE_TENSOR_BACKEND_INPUT
@ TRITONSERVER_TRACE_TENSOR_BACKEND_INPUT
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:727
TRITONSERVER_ParameterDelete
TRITONSERVER_DECLSPEC void TRITONSERVER_ParameterDelete(struct TRITONSERVER_Parameter *parameter)
Delete an parameter object.
TRITONSERVER_ServerOptionsSetBackendDirectory
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetBackendDirectory(struct TRITONSERVER_ServerOptions *options, const char *backend_dir)
Set the directory containing backend shared libraries.
TRITONSERVER_MetricFormat
enum tritonserver_metricformat_enum TRITONSERVER_MetricFormat
TRITONSERVER_Metrics.
TRITONSERVER_memorytype_enum
TRITONSERVER_memorytype_enum
TRITONSERVER_MemoryType.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:155
TRITONSERVER_ServerOptionsSetHostPolicy
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetHostPolicy(struct TRITONSERVER_ServerOptions *options, const char *policy_name, const char *setting, const char *value)
Set a host policy setting for a given policy name in a server options.
TRITONSERVER_InferenceRequestCancel
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestCancel(struct TRITONSERVER_InferenceRequest *inference_request)
Cancel an inference request.
TRITONSERVER_ServerOptionsSetModelLoadThreadCount
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetModelLoadThreadCount(struct TRITONSERVER_ServerOptions *options, unsigned int thread_count)
Set the number of threads to concurrently load models in a server options.
TRITONSERVER_ModelIndexFlag
enum tritonserver_modelindexflag_enum TRITONSERVER_ModelIndexFlag
Model index flags. The enum values must be power-of-2 values.
eMode::strict
@ strict
TRITONSERVER_MetricsFormatted
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricsFormatted(struct TRITONSERVER_Metrics *metrics, TRITONSERVER_MetricFormat format, const char **base, size_t *byte_size)
Get a buffer containing the metrics in the specified format.
TRITONSERVER_RateLimitMode
enum tritonserver_ratelimitmode_enum TRITONSERVER_RateLimitMode
Rate limit modes.
TRITONSERVER_InferenceRequestPriority
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestPriority(struct TRITONSERVER_InferenceRequest *inference_request, uint32_t *priority)
Deprecated.
TRITONSERVER_TRACE_COMPUTE_END
@ TRITONSERVER_TRACE_COMPUTE_END
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:724
TRITONSERVER_ParameterBytesNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Parameter * TRITONSERVER_ParameterBytesNew(const char *name, const void *byte_ptr, const uint64_t size)
Create a new parameter object with type TRITONSERVER_PARAMETER_BYTES.
TRITONSERVER_MODEL_CONTROL_NONE
@ TRITONSERVER_MODEL_CONTROL_NONE
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:1754
TRITONSERVER_METRIC_KIND_HISTOGRAM
@ TRITONSERVER_METRIC_KIND_HISTOGRAM
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2612
TRITONSERVER_LogMessage
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_LogMessage(TRITONSERVER_LogLevel level, const char *filename, const int line, const char *msg)
Log a message at a given log level if that level is enabled.
TRITONSERVER_BufferAttributesCudaIpcHandle
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_BufferAttributesCudaIpcHandle(struct TRITONSERVER_BufferAttributes *buffer_attributes, void **cuda_ipc_handle)
Get the CudaIpcHandle field of the buffer attributes object.
tritonserver_requestreleaseflag_enum
tritonserver_requestreleaseflag_enum
Inference request release flags.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:956
TRITONSERVER_errorcode_enum
TRITONSERVER_errorcode_enum
TRITONSERVER_Error.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:316
TRITONSERVER_ServerOptionsSetLogWarn
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetLogWarn(struct TRITONSERVER_ServerOptions *options, bool log)
Enable or disable warning level logging.
TRITONSERVER_InferenceRequestSetPriority
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetPriority(struct TRITONSERVER_InferenceRequest *inference_request, uint32_t priority)
Deprecated.
TRITONSERVER_ServerOptionsSetModelConfigName
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetModelConfigName(struct TRITONSERVER_ServerOptions *options, const char *model_config_name)
Set the custom model configuration name to load for all models.
TRITONSERVER_ServerIsLive
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerIsLive(struct TRITONSERVER_Server *server, bool *live)
Is the server live?
TRITONSERVER_MessageDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MessageDelete(struct TRITONSERVER_Message *message)
Delete a message object.
TRITONSERVER_MODEL_CONTROL_POLL
@ TRITONSERVER_MODEL_CONTROL_POLL
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:1755
tritonserver_ratelimitmode_enum
tritonserver_ratelimitmode_enum
Rate limit modes.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:1760
TRITONSERVER_ServerSetExitTimeout
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerSetExitTimeout(struct TRITONSERVER_Server *server, unsigned int timeout)
Set the exit timeout on the server object.
TRITONSERVER_ERROR_UNAVAILABLE
@ TRITONSERVER_ERROR_UNAVAILABLE
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:321
TRITONSERVER_MessageSerializeToJson
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MessageSerializeToJson(struct TRITONSERVER_Message *message, const char **base, size_t *byte_size)
Get the base and size of the buffer containing the serialized message in JSON format.
TRITONSERVER_ResponseAllocatorBufferAttributesFn_t
struct TRITONSERVER_Error *(* TRITONSERVER_ResponseAllocatorBufferAttributesFn_t)(struct TRITONSERVER_ResponseAllocator *allocator, const char *tensor_name, struct TRITONSERVER_BufferAttributes *buffer_attributes, void *userp, void *buffer_userp)
Type for allocation function that allocates a buffer to hold an output tensor with buffer attributes.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:436
TRITONSERVER_MEMORY_CPU_PINNED
@ TRITONSERVER_MEMORY_CPU_PINNED
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:157
TRITONSERVER_ServerUnregisterModelRepository
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerUnregisterModelRepository(struct TRITONSERVER_Server *server, const char *repository_path)
Unregister a model repository.
TRITONSERVER_ServerOptionsSetCudaVirtualAddressSize
TRITONSERVER_DECLSPEC TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetCudaVirtualAddressSize(TRITONSERVER_ServerOptions *options, int gpu_device, size_t cuda_virtual_address_size)
Set the size of the virtual address space that will be used for growable memory in implicit state.
TRITONSERVER_InferenceRequestPriorityUInt64
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestPriorityUInt64(struct TRITONSERVER_InferenceRequest *inference_request, uint64_t *priority)
Get the priority for a request.
TRITONSERVER_TXN_DECOUPLED
@ TRITONSERVER_TXN_DECOUPLED
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2276
TRITONSERVER_ServerOptionsSetBufferManagerThreadCount
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetBufferManagerThreadCount(struct TRITONSERVER_ServerOptions *options, unsigned int thread_count)
Set the number of threads used in buffer manager in a server options.
TRITONSERVER_InferenceRequestSetDoubleParameter
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetDoubleParameter(struct TRITONSERVER_InferenceRequest *request, const char *key, const double value)
Set a double parameter in the request.
TRITONSERVER_TYPE_BF16
@ TRITONSERVER_TYPE_BF16
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:122
TRITONSERVER_ServerOptionsSetCacheDirectory
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetCacheDirectory(struct TRITONSERVER_ServerOptions *options, const char *cache_dir)
Set the directory containing cache shared libraries.
TRITONSERVER_TYPE_UINT16
@ TRITONSERVER_TYPE_UINT16
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:111
TRITONSERVER_ServerOptionsSetLogFormat
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetLogFormat(struct TRITONSERVER_ServerOptions *options, const TRITONSERVER_LogFormat format)
Set the logging format.
TRITONSERVER_INDEX_FLAG_READY
@ TRITONSERVER_INDEX_FLAG_READY
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2269
TRITONSERVER_RATE_LIMIT_EXEC_COUNT
@ TRITONSERVER_RATE_LIMIT_EXEC_COUNT
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:1762
TRITONSERVER_InferenceTraceParentId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceParentId(struct TRITONSERVER_InferenceTrace *trace, uint64_t *parent_id)
Get the parent id associated with a trace.
TRITONSERVER_BufferAttributesMemoryTypeId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_BufferAttributesMemoryTypeId(struct TRITONSERVER_BufferAttributes *buffer_attributes, int64_t *memory_type_id)
Get the memory type id field of the buffer attributes.
TRITONSERVER_TRACE_TENSOR_BACKEND_OUTPUT
@ TRITONSERVER_TRACE_TENSOR_BACKEND_OUTPUT
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:728
TRITONSERVER_MetricArgsDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricArgsDelete(struct TRITONSERVER_MetricArgs *args)
Delete a metric args object.
TRITONSERVER_MODEL_CONTROL_EXPLICIT
@ TRITONSERVER_MODEL_CONTROL_EXPLICIT
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:1756
TRITONSERVER_InferenceRequestSetBoolParameter
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetBoolParameter(struct TRITONSERVER_InferenceRequest *request, const char *key, const bool value)
Set a boolean parameter in the request.
TRITONSERVER_InferenceRequestSetResponseCallback
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetResponseCallback(struct TRITONSERVER_InferenceRequest *inference_request, struct TRITONSERVER_ResponseAllocator *response_allocator, void *response_allocator_userp, TRITONSERVER_InferenceResponseCompleteFn_t response_fn, void *response_userp)
Set the allocator and response callback for an inference request.
TRITONSERVER_ERROR_INTERNAL
@ TRITONSERVER_ERROR_INTERNAL
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:318
TRITONSERVER_InferenceRequestRemoveInput
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestRemoveInput(struct TRITONSERVER_InferenceRequest *inference_request, const char *name)
Remove an input from a request.
TRITONSERVER_MetricSet
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricSet(struct TRITONSERVER_Metric *metric, double value)
Set the current value of metric to value.
TRITONSERVER_ERROR_INVALID_ARG
@ TRITONSERVER_ERROR_INVALID_ARG
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:320
TRITONSERVER_InferenceRequestCorrelationId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestCorrelationId(struct TRITONSERVER_InferenceRequest *inference_request, uint64_t *correlation_id)
Get the correlation ID of the inference request as an unsigned integer.
TRITONSERVER_StringToDataType
TRITONSERVER_DECLSPEC TRITONSERVER_DataType TRITONSERVER_StringToDataType(const char *dtype)
Get the Triton datatype corresponding to a string representation of a datatype.
TRITONSERVER_REQUEST_FLAG_SEQUENCE_START
@ TRITONSERVER_REQUEST_FLAG_SEQUENCE_START
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:950
TRITONSERVER_TYPE_FP16
@ TRITONSERVER_TYPE_FP16
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:118
TRITONSERVER_INSTANCEGROUPKIND_CPU
@ TRITONSERVER_INSTANCEGROUPKIND_CPU
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:230
TRITONSERVER_TXN_ONE_TO_ONE
@ TRITONSERVER_TXN_ONE_TO_ONE
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2275
tritonserver_traceactivity_enum
tritonserver_traceactivity_enum
Trace activities.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:718
TRITONSERVER_InferenceTraceActivity
enum tritonserver_traceactivity_enum TRITONSERVER_InferenceTraceActivity
Trace activities.
TRITONSERVER_ServerOptionsAddRateLimiterResource
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsAddRateLimiterResource(struct TRITONSERVER_ServerOptions *options, const char *resource_name, const size_t resource_count, const int device)
Add resource count for rate limiting.
TRITONSERVER_InferenceTraceRequestId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceRequestId(struct TRITONSERVER_InferenceTrace *trace, const char **request_id)
Get the request id associated with a trace.
TRITONSERVER_ServerOptionsSetServerId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetServerId(struct TRITONSERVER_ServerOptions *options, const char *server_id)
Set the textual ID for the server in a server options.
TRITONSERVER_MetricFamilyNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricFamilyNew(struct TRITONSERVER_MetricFamily **family, const TRITONSERVER_MetricKind kind, const char *name, const char *description)
Create a new metric family object.
TRITONSERVER_InferenceTraceActivityFn_t
void(* TRITONSERVER_InferenceTraceActivityFn_t)(struct TRITONSERVER_InferenceTrace *trace, TRITONSERVER_InferenceTraceActivity activity, uint64_t timestamp_ns, void *userp)
Type for trace timeline activity callback function.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:747
TRITONSERVER_parametertype_enum
TRITONSERVER_parametertype_enum
TRITONSERVER_ParameterType.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:174
TRITONSERVER_ServerOptionsSetStrictReadiness
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetStrictReadiness(struct TRITONSERVER_ServerOptions *options, bool strict)
Enable or disable strict readiness handling in a server options.
TRITONSERVER_LOG_ERROR
@ TRITONSERVER_LOG_ERROR
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:251
TRITONSERVER_InferenceRequestSetFlags
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetFlags(struct TRITONSERVER_InferenceRequest *inference_request, uint32_t flags)
Set the flag(s) associated with a request.
TRITONSERVER_InferenceRequestRemoveAllRequestedOutputs
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestRemoveAllRequestedOutputs(struct TRITONSERVER_InferenceRequest *inference_request)
Remove all output requests from an inference request.
TRITONSERVER_ModelBatchFlag
enum tritonserver_batchflag_enum TRITONSERVER_ModelBatchFlag
TRITONSERVER_Server.
TRITONSERVER_ResponseAllocatorNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ResponseAllocatorNew(struct TRITONSERVER_ResponseAllocator **allocator, TRITONSERVER_ResponseAllocatorAllocFn_t alloc_fn, TRITONSERVER_ResponseAllocatorReleaseFn_t release_fn, TRITONSERVER_ResponseAllocatorStartFn_t start_fn)
Create a new response allocator object.
TRITONSERVER_LogIsEnabled
TRITONSERVER_DECLSPEC bool TRITONSERVER_LogIsEnabled(TRITONSERVER_LogLevel level)
Is a log level enabled?
TRITONSERVER_InferenceTraceLevelString
const TRITONSERVER_DECLSPEC char * TRITONSERVER_InferenceTraceLevelString(TRITONSERVER_InferenceTraceLevel level)
Get the string representation of a trace level.
TRITONSERVER_ParameterType
enum TRITONSERVER_parametertype_enum TRITONSERVER_ParameterType
TRITONSERVER_ParameterType.
TRITONSERVER_InferenceRequestId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestId(struct TRITONSERVER_InferenceRequest *inference_request, const char **id)
Get the ID for a request.
TRITONSERVER_ModelControlMode
enum tritonserver_modelcontrolmode_enum TRITONSERVER_ModelControlMode
TRITONSERVER_ServerOptions.
TRITONSERVER_ServerOptionsNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsNew(struct TRITONSERVER_ServerOptions **options)
Create a new server options object.
TRITONSERVER_TYPE_BYTES
@ TRITONSERVER_TYPE_BYTES
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:121
TRITONSERVER_ServerOptionsSetLogInfo
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetLogInfo(struct TRITONSERVER_ServerOptions *options, bool log)
Enable or disable info level logging.
TRITONSERVER_MetricIncrement
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricIncrement(struct TRITONSERVER_Metric *metric, double value)
Increment the current value of metric by value.
TRITONSERVER_ServerLoadModel
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerLoadModel(struct TRITONSERVER_Server *server, const char *model_name)
Load the requested model or reload the model if it is already loaded.
TRITONSERVER_GetMetricKind
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_GetMetricKind(struct TRITONSERVER_Metric *metric, TRITONSERVER_MetricKind *kind)
Get the TRITONSERVER_MetricKind of metric of its corresponding family.
TRITONSERVER_InferenceRequestSetIntParameter
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetIntParameter(struct TRITONSERVER_InferenceRequest *request, const char *key, const int64_t value)
Set an integer parameter in the request.
TRITONSERVER_MessageNewFromSerializedJson
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MessageNewFromSerializedJson(struct TRITONSERVER_Message **message, const char *base, size_t byte_size)
TRITONSERVER_Message.
TRITONSERVER_TRACE_LEVEL_MIN
@ TRITONSERVER_TRACE_LEVEL_MIN
Deprecated. Use TRITONSERVER_TRACE_LEVEL_TIMESTAMPS.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:699
TRITONSERVER_ServerModelBatchProperties
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerModelBatchProperties(struct TRITONSERVER_Server *server, const char *model_name, const int64_t model_version, uint32_t *flags, void **voidp)
Get the batch properties of the model.
TRITONSERVER_MetricFamilyDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricFamilyDelete(struct TRITONSERVER_MetricFamily *family)
Delete a metric family object.
TRITONSERVER_TYPE_INT32
@ TRITONSERVER_TYPE_INT32
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:116
TRITONSERVER_DataType
enum TRITONSERVER_datatype_enum TRITONSERVER_DataType
TRITONSERVER_DataType.
TRITONSERVER_BufferAttributesSetCudaIpcHandle
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_BufferAttributesSetCudaIpcHandle(struct TRITONSERVER_BufferAttributes *buffer_attributes, void *cuda_ipc_handle)
Set the CudaIpcHandle field of the buffer attributes.
TRITONSERVER_ServerOptionsSetLogVerbose
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetLogVerbose(struct TRITONSERVER_ServerOptions *options, int level)
Set verbose logging level.
TRITONSERVER_ServerOptionsSetLogError
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetLogError(struct TRITONSERVER_ServerOptions *options, bool log)
Enable or disable error level logging.
TRITONSERVER_ResponseAllocatorAllocFn_t
struct TRITONSERVER_Error *(* TRITONSERVER_ResponseAllocatorAllocFn_t)(struct TRITONSERVER_ResponseAllocator *allocator, const char *tensor_name, size_t byte_size, TRITONSERVER_MemoryType memory_type, int64_t memory_type_id, void *userp, void **buffer, void **buffer_userp, TRITONSERVER_MemoryType *actual_memory_type, int64_t *actual_memory_type_id)
TRITONSERVER_ResponseAllocator.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:406
TRITONSERVER_GetMetricFamilyKind
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_GetMetricFamilyKind(struct TRITONSERVER_MetricFamily *family, TRITONSERVER_MetricKind *kind)
Get the TRITONSERVER_MetricKind of the metric family.
TRITONSERVER_ServerUnloadModel
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerUnloadModel(struct TRITONSERVER_Server *server, const char *model_name)
Unload the requested model.
TRITONSERVER_RATE_LIMIT_OFF
@ TRITONSERVER_RATE_LIMIT_OFF
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:1761
TRITONSERVER_RequestReleaseFlag
enum tritonserver_requestreleaseflag_enum TRITONSERVER_RequestReleaseFlag
Inference request release flags.
TRITONSERVER_TRACE_TENSOR_QUEUE_INPUT
@ TRITONSERVER_TRACE_TENSOR_QUEUE_INPUT
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:726
TRITONSERVER_loglevel_enum
TRITONSERVER_loglevel_enum
TRITONSERVER_Logging.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:248
TRITONSERVER_LOG_ISO8601
@ TRITONSERVER_LOG_ISO8601
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:283
TRITONSERVER_ServerOptionsSetExitOnError
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetExitOnError(struct TRITONSERVER_ServerOptions *options, bool exit)
Enable or disable exit-on-error in a server options.
TRITONSERVER_InferenceTraceId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceId(struct TRITONSERVER_InferenceTrace *trace, uint64_t *id)
Get the id associated with a trace.
TRITONSERVER_ServerNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerNew(struct TRITONSERVER_Server **server, struct TRITONSERVER_ServerOptions *options)
Create a new server object.
TRITONSERVER_BufferAttributesSetByteSize
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_BufferAttributesSetByteSize(struct TRITONSERVER_BufferAttributes *buffer_attributes, size_t byte_size)
Set the byte size field of the buffer attributes.
TRITONSERVER_TYPE_INT16
@ TRITONSERVER_TYPE_INT16
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:115
TRITONSERVER_TRACE_LEVEL_MAX
@ TRITONSERVER_TRACE_LEVEL_MAX
Deprecated. Use TRITONSERVER_TRACE_LEVEL_TIMESTAMPS.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:701
TRITONSERVER_InferenceTraceSetContext
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceSetContext(struct TRITONSERVER_InferenceTrace *trace, const char *trace_context)
Set TRITONSERVER_InferenceTrace context.
TRITONSERVER_InferenceTraceContext
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceContext(struct TRITONSERVER_InferenceTrace *trace, const char **trace_context)
Get TRITONSERVER_InferenceTrace context.
TRITONSERVER_ServerModelMetadata
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerModelMetadata(struct TRITONSERVER_Server *server, const char *model_name, const int64_t model_version, struct TRITONSERVER_Message **model_metadata)
Get the metadata of a model as a TRITONSERVER_Message object.
TRITONSERVER_ModelTxnPropertyFlag
enum tritonserver_txn_property_flag_enum TRITONSERVER_ModelTxnPropertyFlag
Model transaction policy flags.
TRITONSERVER_ServerOptionsSetCpuMetrics
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetCpuMetrics(struct TRITONSERVER_ServerOptions *options, bool cpu_metrics)
Enable or disable CPU metrics collection in a server options.
TRITONSERVER_InferenceRequestRemoveRequestedOutput
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestRemoveRequestedOutput(struct TRITONSERVER_InferenceRequest *inference_request, const char *name)
Remove an output request from an inference request.
TRITONSERVER_logformat_enum
TRITONSERVER_logformat_enum
Logging Formats.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:281
TRITONSERVER_MetricObserve
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricObserve(struct TRITONSERVER_Metric *metric, double value)
Sample an observation and count it to the appropriate bucket of a metric.
TRITONSERVER_InferenceRequestAddInput
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestAddInput(struct TRITONSERVER_InferenceRequest *inference_request, const char *name, const TRITONSERVER_DataType datatype, const int64_t *shape, uint64_t dim_count)
Add an input to a request.
TRITONSERVER_InferenceRequestIsCancelled
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestIsCancelled(struct TRITONSERVER_InferenceRequest *inference_request, bool *is_cancelled)
Query whether the request is cancelled or not.
TRITONSERVER_ServerMetrics
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerMetrics(struct TRITONSERVER_Server *server, struct TRITONSERVER_Metrics **metrics)
Get the current metrics for the server.
tritonserver_requestflag_enum
tritonserver_requestflag_enum
TRITONSERVER_InferenceRequest.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:949
TRITONSERVER_ServerOptionsSetGpuMetrics
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetGpuMetrics(struct TRITONSERVER_ServerOptions *options, bool gpu_metrics)
Enable or disable GPU metrics collection in a server options.
TRITONSERVER_ServerMetadata
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerMetadata(struct TRITONSERVER_Server *server, struct TRITONSERVER_Message **server_metadata)
Get the metadata of the server as a TRITONSERVER_Message object.
TRITONSERVER_BufferAttributesSetMemoryType
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_BufferAttributesSetMemoryType(struct TRITONSERVER_BufferAttributes *buffer_attributes, TRITONSERVER_MemoryType memory_type)
Set the memory type field of the buffer attributes.
TRITONSERVER_ServerPollModelRepository
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerPollModelRepository(struct TRITONSERVER_Server *server)
Check the model repository for changes and update server state based on those changes.
TRITONSERVER_MetricDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricDelete(struct TRITONSERVER_Metric *metric)
Delete a metric object.
TRITONSERVER_InferenceResponseOutputClassificationLabel
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceResponseOutputClassificationLabel(struct TRITONSERVER_InferenceResponse *inference_response, const uint32_t index, const size_t class_index, const char **label)
Get a classification label associated with an output for a given index.
TRITONSERVER_TRACE_QUEUE_START
@ TRITONSERVER_TRACE_QUEUE_START
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:720
TRITONSERVER_LogFormat
enum TRITONSERVER_logformat_enum TRITONSERVER_LogFormat
Logging Formats.
TRITONSERVER_ERROR_ALREADY_EXISTS
@ TRITONSERVER_ERROR_ALREADY_EXISTS
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:323
TRITONSERVER_METRIC_PROMETHEUS
@ TRITONSERVER_METRIC_PROMETHEUS
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:645
TRITONSERVER_BufferAttributesNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_BufferAttributesNew(struct TRITONSERVER_BufferAttributes **buffer_attributes)
TRITONSERVER_BufferAttributes.
TRITONSERVER_LogLevel
enum TRITONSERVER_loglevel_enum TRITONSERVER_LogLevel
TRITONSERVER_Logging.
TRITONSERVER_ErrorMessage
const TRITONSERVER_DECLSPEC char * TRITONSERVER_ErrorMessage(struct TRITONSERVER_Error *error)
Get the error message.
TRITONSERVER_ServerUnloadModelAndDependents
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerUnloadModelAndDependents(struct TRITONSERVER_Server *server, const char *model_name)
Unload the requested model, and also unload any dependent model that was loaded along with the reques...
TRITONSERVER_InferenceTraceModelName
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceModelName(struct TRITONSERVER_InferenceTrace *trace, const char **model_name)
Get the name of the model associated with a trace.
TRITONSERVER_InferenceRequestAppendInputDataWithHostPolicy
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestAppendInputDataWithHostPolicy(struct TRITONSERVER_InferenceRequest *inference_request, const char *name, const void *base, size_t byte_size, TRITONSERVER_MemoryType memory_type, int64_t memory_type_id, const char *host_policy_name)
Assign a buffer of data to an input for execution on all model instances with the specified host poli...
TRITONSERVER_ServerModelStatistics
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerModelStatistics(struct TRITONSERVER_Server *server, const char *model_name, const int64_t model_version, struct TRITONSERVER_Message **model_stats)
Get the statistics of a model as a TRITONSERVER_Message object.
tritonserver_txn_property_flag_enum
tritonserver_txn_property_flag_enum
Model transaction policy flags.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2274
TRITONSERVER_BATCH_UNKNOWN
@ TRITONSERVER_BATCH_UNKNOWN
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2263
TRITONSERVER_LOG_VERBOSE
@ TRITONSERVER_LOG_VERBOSE
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:252
TRITONSERVER_MetricsDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricsDelete(struct TRITONSERVER_Metrics *metrics)
Delete a metrics object.
TRITONSERVER_TYPE_FP64
@ TRITONSERVER_TYPE_FP64
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:120
TRITONSERVER_ServerOptionsSetLogFile
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetLogFile(struct TRITONSERVER_ServerOptions *options, const char *file)
Provide a log output file.
TRITONSERVER_TRACE_LEVEL_DISABLED
@ TRITONSERVER_TRACE_LEVEL_DISABLED
Tracing disabled. No trace activities are reported.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:697
TRITONSERVER_InferenceTraceSpawnChildTrace
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceSpawnChildTrace(struct TRITONSERVER_InferenceTrace *trace, struct TRITONSERVER_InferenceTrace **child_trace)
Get the child trace, spawned from the parent trace.
TRITONSERVER_TYPE_UINT8
@ TRITONSERVER_TYPE_UINT8
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:110
TRITONSERVER_INSTANCEGROUPKIND_MODEL
@ TRITONSERVER_INSTANCEGROUPKIND_MODEL
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:232
TRITONSERVER_ERROR_UNSUPPORTED
@ TRITONSERVER_ERROR_UNSUPPORTED
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:322
TRITONSERVER_InferenceResponseId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceResponseId(struct TRITONSERVER_InferenceResponse *inference_response, const char **request_id)
Get the ID of the request corresponding to a response.
TRITONSERVER_Error_Code
enum TRITONSERVER_errorcode_enum TRITONSERVER_Error_Code
TRITONSERVER_Error.
TRITONSERVER_DECLSPEC
#define TRITONSERVER_DECLSPEC
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:42
TRITONSERVER_ServerOptionsSetMetricsInterval
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetMetricsInterval(struct TRITONSERVER_ServerOptions *options, uint64_t metrics_interval_ms)
Set the interval for metrics collection in a server options.
TRITONSERVER_ServerLoadModelWithParameters
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerLoadModelWithParameters(struct TRITONSERVER_Server *server, const char *model_name, const struct TRITONSERVER_Parameter **parameters, const uint64_t parameter_count)
Load the requested model or reload the model if it is already loaded, with load parameters provided.
TRITONSERVER_TYPE_FP32
@ TRITONSERVER_TYPE_FP32
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:119
TRITONSERVER_TRACE_COMPUTE_INPUT_END
@ TRITONSERVER_TRACE_COMPUTE_INPUT_END
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:722
tritonserver_modelcontrolmode_enum
tritonserver_modelcontrolmode_enum
TRITONSERVER_ServerOptions.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:1753
TRITONSERVER_InferenceTraceTensorNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceTensorNew(struct TRITONSERVER_InferenceTrace **trace, TRITONSERVER_InferenceTraceLevel level, uint64_t parent_id, TRITONSERVER_InferenceTraceActivityFn_t activity_fn, TRITONSERVER_InferenceTraceTensorActivityFn_t tensor_activity_fn, TRITONSERVER_InferenceTraceReleaseFn_t release_fn, void *trace_userp)
Create a new inference trace object.
TRITONSERVER_InferenceRequestSetReleaseCallback
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetReleaseCallback(struct TRITONSERVER_InferenceRequest *inference_request, TRITONSERVER_InferenceRequestReleaseFn_t request_release_fn, void *request_release_userp)
Set the release callback for an inference request.
TRITONSERVER_InferenceResponseParameterCount
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceResponseParameterCount(struct TRITONSERVER_InferenceResponse *inference_response, uint32_t *count)
Get the number of parameters available in the response.
TRITONSERVER_ResponseAllocatorReleaseFn_t
struct TRITONSERVER_Error *(* TRITONSERVER_ResponseAllocatorReleaseFn_t)(struct TRITONSERVER_ResponseAllocator *allocator, void *buffer, void *buffer_userp, size_t byte_size, TRITONSERVER_MemoryType memory_type, int64_t memory_type_id)
Type for function that is called when the server no longer holds any reference to a buffer allocated ...
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:487
TRITONSERVER_MEMORY_GPU
@ TRITONSERVER_MEMORY_GPU
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:158
tritonserver_batchflag_enum
tritonserver_batchflag_enum
TRITONSERVER_Server.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2262
TRITONSERVER_METRIC_KIND_COUNTER
@ TRITONSERVER_METRIC_KIND_COUNTER
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2610
TRITONSERVER_ServerModelIsReady
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerModelIsReady(struct TRITONSERVER_Server *server, const char *model_name, const int64_t model_version, bool *ready)
Is the model ready?
TRITONSERVER_InferenceRequestSetPriorityUInt64
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetPriorityUInt64(struct TRITONSERVER_InferenceRequest *inference_request, uint64_t priority)
Set the priority for a request.
TRITONSERVER_ServerOptionsSetResponseCacheByteSize
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetResponseCacheByteSize(struct TRITONSERVER_ServerOptions *options, uint64_t size)
Deprecated.
TRITONSERVER_MetricArgsNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricArgsNew(struct TRITONSERVER_MetricArgs **args)
Create a new metric args object.
TRITONSERVER_ERROR_UNKNOWN
@ TRITONSERVER_ERROR_UNKNOWN
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:317
tritonserver_tracelevel_enum
tritonserver_tracelevel_enum
TRITONSERVER_InferenceTrace.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:695
TRITONSERVER_InferenceRequestSetCorrelationIdString
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestSetCorrelationIdString(struct TRITONSERVER_InferenceRequest *inference_request, const char *correlation_id)
Set the correlation ID of the inference request to be a string.
TRITONSERVER_ServerOptionsSetModelNamespacing
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetModelNamespacing(struct TRITONSERVER_ServerOptions *options, bool enable_namespace)
Enable model namespacing to allow serving models with the same name if they are in different namespac...
TRITONSERVER_InstanceGroupKind
enum TRITONSERVER_instancegroupkind_enum TRITONSERVER_InstanceGroupKind
TRITONSERVER_InstanceGroupKind.
TRITONSERVER_ServerRegisterModelRepository
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerRegisterModelRepository(struct TRITONSERVER_Server *server, const char *repository_path, const struct TRITONSERVER_Parameter **name_mapping, const uint32_t mapping_count)
Register a new model repository.
TRITONSERVER_InferenceTraceModelVersion
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceModelVersion(struct TRITONSERVER_InferenceTrace *trace, int64_t *model_version)
Get the version of the model associated with a trace.
TRITONSERVER_LOG_DEFAULT
@ TRITONSERVER_LOG_DEFAULT
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:282
TRITONSERVER_ServerOptionsSetModelLoadDeviceLimit
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetModelLoadDeviceLimit(struct TRITONSERVER_ServerOptions *options, const TRITONSERVER_InstanceGroupKind kind, const int device_id, const double fraction)
Specify the limit on memory usage as a fraction on the device identified by 'kind' and 'device_id'.
TRITONSERVER_ServerModelConfig
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerModelConfig(struct TRITONSERVER_Server *server, const char *model_name, const int64_t model_version, const uint32_t config_version, struct TRITONSERVER_Message **model_config)
Get the configuration of a model as a TRITONSERVER_Message object.
TRITONSERVER_InferenceRequestRemoveAllInputs
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestRemoveAllInputs(struct TRITONSERVER_InferenceRequest *inference_request)
Remove all inputs from a request.
TRITONSERVER_InferenceRequestReleaseFn_t
void(* TRITONSERVER_InferenceRequestReleaseFn_t)(struct TRITONSERVER_InferenceRequest *request, const uint32_t flags, void *userp)
Type for inference request release callback function.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:996
TRITONSERVER_InferenceResponseCompleteFn_t
void(* TRITONSERVER_InferenceResponseCompleteFn_t)(struct TRITONSERVER_InferenceResponse *response, const uint32_t flags, void *userp)
Type for callback function indicating that an inference response has completed.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:1017
TRITONSERVER_TYPE_UINT32
@ TRITONSERVER_TYPE_UINT32
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:112
TRITONSERVER_ErrorCode
TRITONSERVER_DECLSPEC TRITONSERVER_Error_Code TRITONSERVER_ErrorCode(struct TRITONSERVER_Error *error)
Get the error code.
TRITONSERVER_TRACE_REQUEST_END
@ TRITONSERVER_TRACE_REQUEST_END
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:725
TRITONSERVER_InferenceResponseParameter
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceResponseParameter(struct TRITONSERVER_InferenceResponse *inference_response, const uint32_t index, const char **name, TRITONSERVER_ParameterType *type, const void **vvalue)
Get all information about a parameter.
TRITONSERVER_InferenceRequestAppendInputData
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestAppendInputData(struct TRITONSERVER_InferenceRequest *inference_request, const char *name, const void *base, size_t byte_size, TRITONSERVER_MemoryType memory_type, int64_t memory_type_id)
Assign a buffer of data to an input.
TRITONSERVER_InferenceRequestAddRawInput
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestAddRawInput(struct TRITONSERVER_InferenceRequest *inference_request, const char *name)
Add a raw input to a request.
TRITONSERVER_TRACE_COMPUTE_OUTPUT_START
@ TRITONSERVER_TRACE_COMPUTE_OUTPUT_START
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:723
TRITONSERVER_InferenceRequestDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceRequestDelete(struct TRITONSERVER_InferenceRequest *inference_request)
Delete an inference request object.
TRITONSERVER_PARAMETER_DOUBLE
@ TRITONSERVER_PARAMETER_DOUBLE
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:178
TRITONSERVER_BufferAttributesSetMemoryTypeId
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_BufferAttributesSetMemoryTypeId(struct TRITONSERVER_BufferAttributes *buffer_attributes, int64_t memory_type_id)
Set the memory type id field of the buffer attributes.
tritonserver_metricformat_enum
tritonserver_metricformat_enum
TRITONSERVER_Metrics.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:644
TRITONSERVER_InferenceTraceActivityString
const TRITONSERVER_DECLSPEC char * TRITONSERVER_InferenceTraceActivityString(TRITONSERVER_InferenceTraceActivity activity)
Get the string representation of a trace activity.
TRITONSERVER_TYPE_INT8
@ TRITONSERVER_TYPE_INT8
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:114
TRITONSERVER_ServerOptionsSetEnablePeerAccess
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetEnablePeerAccess(struct TRITONSERVER_ServerOptions *options, bool enable_peer_access)
Enable peer access to allow GPU device to directly access the memory of another GPU device.
TRITONSERVER_InferenceTraceTensorActivityFn_t
void(* TRITONSERVER_InferenceTraceTensorActivityFn_t)(struct TRITONSERVER_InferenceTrace *trace, TRITONSERVER_InferenceTraceActivity activity, const char *name, TRITONSERVER_DataType datatype, const void *base, size_t byte_size, const int64_t *shape, uint64_t dim_count, TRITONSERVER_MemoryType memory_type, int64_t memory_type_id, void *userp)
Type for trace tensor activity callback function.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:758
TRITONSERVER_InferenceResponseModel
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceResponseModel(struct TRITONSERVER_InferenceResponse *inference_response, const char **model_name, int64_t *model_version)
Get model used to produce a response.
TRITONSERVER_PARAMETER_BOOL
@ TRITONSERVER_PARAMETER_BOOL
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:177
TRITONSERVER_InferenceTraceDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceDelete(struct TRITONSERVER_InferenceTrace *trace)
Delete a trace object.
TRITONSERVER_MetricValue
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_MetricValue(struct TRITONSERVER_Metric *metric, double *value)
Get the current value of a metric object.
TRITONSERVER_BATCH_FIRST_DIM
@ TRITONSERVER_BATCH_FIRST_DIM
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:2264
TRITONSERVER_ERROR_NOT_FOUND
@ TRITONSERVER_ERROR_NOT_FOUND
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:319
TRITONSERVER_INSTANCEGROUPKIND_AUTO
@ TRITONSERVER_INSTANCEGROUPKIND_AUTO
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:229
TRITONSERVER_InferenceResponseOutputCount
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceResponseOutputCount(struct TRITONSERVER_InferenceResponse *inference_response, uint32_t *count)
Get the number of outputs available in the response.
TRITONSERVER_datatype_enum
TRITONSERVER_datatype_enum
TRITONSERVER_DataType.
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:107
TRITONSERVER_ServerOptionsSetMetricsConfig
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetMetricsConfig(struct TRITONSERVER_ServerOptions *options, const char *name, const char *setting, const char *value)
Set a configuration setting for metrics in server options.
TRITONSERVER_ERROR_CANCELLED
@ TRITONSERVER_ERROR_CANCELLED
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:324
TRITONSERVER_ServerStop
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerStop(struct TRITONSERVER_Server *server)
Stop a server object.
TRITONSERVER_ServerOptionsSetModelRepositoryPath
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetModelRepositoryPath(struct TRITONSERVER_ServerOptions *options, const char *model_repository_path)
Set the model repository path in a server options.
TRITONSERVER_ErrorNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ErrorNew(TRITONSERVER_Error_Code code, const char *msg)
Create a new error object.
TRITONSERVER_ServerOptionsSetMinSupportedComputeCapability
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetMinSupportedComputeCapability(struct TRITONSERVER_ServerOptions *options, double cc)
Set the minimum support CUDA compute capability in a server options.
TRITONSERVER_ResponseAllocatorDelete
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ResponseAllocatorDelete(struct TRITONSERVER_ResponseAllocator *allocator)
Delete a response allocator.
ds3d::v2xinfer::format
static std::string format(const char *fmt,...)
Definition: sources/libs/ds3d/inference_custom_lib/ds3d_v2x_infer_custom_preprocess/tensor.hpp:31
TRITONSERVER_ResponseAllocatorSetBufferAttributesFunction
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ResponseAllocatorSetBufferAttributesFunction(struct TRITONSERVER_ResponseAllocator *allocator, TRITONSERVER_ResponseAllocatorBufferAttributesFn_t buffer_attributes_fn)
Set the buffer attributes function for a response allocator object.
TRITONSERVER_ErrorDelete
TRITONSERVER_DECLSPEC void TRITONSERVER_ErrorDelete(struct TRITONSERVER_Error *error)
Delete an error object.
TRITONSERVER_ServerModelTransactionProperties
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerModelTransactionProperties(struct TRITONSERVER_Server *server, const char *model_name, const int64_t model_version, uint32_t *txn_flags, void **voidp)
Get the transaction policy of the model.
TRITONSERVER_TYPE_INT64
@ TRITONSERVER_TYPE_INT64
Definition: sources/libs/nvdsinferserver/tritonserver_include/tritonserver.h:117
TRITONSERVER_ErrorCodeString
const TRITONSERVER_DECLSPEC char * TRITONSERVER_ErrorCodeString(struct TRITONSERVER_Error *error)
Get the string representation of an error code.
TRITONSERVER_ServerOptionsSetModelControlMode
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_ServerOptionsSetModelControlMode(struct TRITONSERVER_ServerOptions *options, TRITONSERVER_ModelControlMode mode)
Set the model control mode in a server options.
TRITONSERVER_InferenceTraceNew
TRITONSERVER_DECLSPEC struct TRITONSERVER_Error * TRITONSERVER_InferenceTraceNew(struct TRITONSERVER_InferenceTrace **trace, TRITONSERVER_InferenceTraceLevel level, uint64_t parent_id, TRITONSERVER_InferenceTraceActivityFn_t activity_fn, TRITONSERVER_InferenceTraceReleaseFn_t release_fn, void *trace_userp)
Create a new inference trace object.