mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-02 03:55:34 +00:00
Bump up API version for 1.6 release (#6076)
This commit is contained in:
parent
3cae28699b
commit
2c5ba9ab00
2 changed files with 4 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
#include <string.h>
|
||||
|
||||
// This value is used in structures passed to ORT so that a newer version of ORT will still work with them
|
||||
#define ORT_API_VERSION 5
|
||||
#define ORT_API_VERSION 6
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -2063,7 +2063,6 @@ static constexpr OrtApi ort_api_1_to_6 = {
|
|||
&OrtApis::SetGlobalSpinControl,
|
||||
// End of Version 5 - DO NOT MODIFY ABOVE (see above text for more information)
|
||||
|
||||
// Version 6 - In development, feel free to add/remove/rearrange here
|
||||
&OrtApis::AddInitializer,
|
||||
&OrtApis::CreateEnvWithCustomLoggerAndGlobalThreadPools,
|
||||
&OrtApis::SessionOptionsAppendExecutionProvider_CUDA,
|
||||
|
|
@ -2071,6 +2070,9 @@ static constexpr OrtApi ort_api_1_to_6 = {
|
|||
&OrtApis::SetGlobalDenormalAsZero,
|
||||
&OrtApis::CreateArenaCfg,
|
||||
&OrtApis::ReleaseArenaCfg,
|
||||
// End of Version 6 - DO NOT MODIFY ABOVE (see above text for more information)
|
||||
|
||||
// Version 7 - In development, feel free to add/remove/rearrange here
|
||||
};
|
||||
|
||||
// Assert to do a limited check to ensure Version 1 of OrtApi never changes (will detect an addition or deletion but not if they cancel out each other)
|
||||
|
|
|
|||
Loading…
Reference in a new issue