diff --git a/include/onnxruntime/core/session/onnxruntime_c_api.h b/include/onnxruntime/core/session/onnxruntime_c_api.h index 3168a8423a6d2..7d44a55b5c6a7 100644 --- a/include/onnxruntime/core/session/onnxruntime_c_api.h +++ b/include/onnxruntime/core/session/onnxruntime_c_api.h @@ -970,10 +970,6 @@ typedef OrtStatus*(ORT_API_CALL* RegisterCustomOpsFn)(OrtSessionOptions* options */ typedef void (*RunAsyncCallbackFn)(void* user_data, OrtValue** outputs, size_t num_outputs, OrtStatusPtr status); -/** \addtogroup Global - * @{ - */ - /** \brief External memory handle type for importing GPU resources. * * \todo Add OPAQUE_WIN32 for Windows Vulkan-specific memory handles @@ -1041,8 +1037,6 @@ typedef struct OrtExternalTensorDescriptor { Enables multiple tensors from the same imported memory handle. */ } OrtExternalTensorDescriptor; -/// @} - /* * Public enum for compiled model compatibility across EPs. */ @@ -1068,8 +1062,8 @@ typedef struct OrtEnvCreationOptions { * \note Logging messages which are less severe than the `logging_severity_level` are not emitted. * * \note Serves as the default logging severity level for session creation and runs. - * Use ::SetSessionLogSeverityLevel() to set a logging severity level for the creation of specific session. - * Use ::RunOptionsSetRunLogSeverityLevel() to set a logging severity level for a specific session run. + * Use OrtApi::SetSessionLogSeverityLevel to set a logging severity level for the creation of specific session. + * Use OrtApi::RunOptionsSetRunLogSeverityLevel to set a logging severity level for a specific session run. * * \since Version 1.24. */ @@ -1122,7 +1116,7 @@ typedef struct OrtEnvCreationOptions { * \note Refer to onnxruntime_env_config_keys.h for common config entry keys and their supported values. * * \note An application provides environment-level configuration options for execution provider libraries by - * using keys with the prefix 'ep_factory..'. Ex: the key 'ep_factory.my_ep.some_ep_key' represents + * using keys with the prefix 'ep_factory.\\.'. Ex: the key 'ep_factory.my_ep.some_ep_key' represents * a key named 'some_ep_key' that is meant to be consumed by an execution provider named 'my_ep'. Refer to * the specific execution provider's documentation for valid keys and values. * @@ -7985,7 +7979,7 @@ struct OrtInteropApi { /** \brief Release an OrtExternalResourceImporter instance. * - * \param[in] importer The OrtExternalResourceImporter instance to release. May be nullptr. + * \param[in] input The OrtExternalResourceImporter instance to release. May be nullptr. * * \since Version 1.24. */ @@ -8028,7 +8022,7 @@ struct OrtInteropApi { /** \brief Release an OrtExternalMemoryHandle instance. * - * \param[in] handle The OrtExternalMemoryHandle instance to release. May be nullptr. + * \param[in] input The OrtExternalMemoryHandle instance to release. May be nullptr. * * \since Version 1.24. */ @@ -8094,7 +8088,7 @@ struct OrtInteropApi { /** \brief Release an OrtExternalSemaphoreHandle instance. * - * \param[in] handle The OrtExternalSemaphoreHandle instance to release. May be nullptr. + * \param[in] input The OrtExternalSemaphoreHandle instance to release. May be nullptr. * * \since Version 1.24. */ diff --git a/include/onnxruntime/core/session/onnxruntime_ep_c_api.h b/include/onnxruntime/core/session/onnxruntime_ep_c_api.h index e800116d11c5b..b888d0d609e55 100644 --- a/include/onnxruntime/core/session/onnxruntime_ep_c_api.h +++ b/include/onnxruntime/core/session/onnxruntime_ep_c_api.h @@ -664,7 +664,7 @@ struct OrtLoopKernelHelper; typedef struct OrtLoopKernelHelper OrtLoopKernelHelper; /** - * \brief Contains helper functions for a Loop OrtKernelImpl created via ::CreateLoopKernel(). + * \brief Contains helper functions for a Loop OrtKernelImpl created via OrtEpApi::CreateLoopKernel. * \since Version 1.24. */ struct OrtLoopKernelHelper { @@ -707,7 +707,7 @@ struct OrtScanKernelHelper; typedef struct OrtScanKernelHelper OrtScanKernelHelper; /** - * \brief Contains helper functions for a Scan OrtKernelImpl created via ::CreateScanKernel(). + * \brief Contains helper functions for a Scan OrtKernelImpl created via OrtEpApi::CreateScanKernel. * \since Version 1.24. */ struct OrtScanKernelHelper { @@ -1431,13 +1431,13 @@ struct OrtEpApi { /** \brief Gets a new OrtKeyValuePairs instance containing a copy of all configuration entries set on the environment. * * \note An application provides environment-level configuration options for execution provider libraries by - * using keys with the prefix 'ep_factory..'. Ex: the key 'ep_factory.my_ep.some_ep_key' represents + * using keys with the prefix 'ep_factory.\\.'. Ex: the key 'ep_factory.my_ep.some_ep_key' represents * a key named 'some_ep_key' that is meant to be consumed by an execution provider named 'my_ep'. Refer to * the specific execution provider's documentation for valid keys and values. * * \note Refer to onnxruntime_env_config_keys.h for common configuration entry keys and their supported values. * - * \param[out] out Output parameter set to the OrtKeyValuePairs instance containing all configuration entries. + * \param[out] config_entries Output parameter set to the OrtKeyValuePairs instance containing all configuration entries. * Must be released via OrtApi::ReleaseKeyValuePairs. * * \snippet{doc} snippets.dox OrtStatus Return Value