From 79854dda8f6218b665f34092ea0b508961e9fb03 Mon Sep 17 00:00:00 2001 From: Xueyun Zhu <40807589+xzhu1900@users.noreply.github.com> Date: Mon, 17 May 2021 17:55:42 -0700 Subject: [PATCH] bumping up verson (#7731) --- onnxruntime/core/session/onnxruntime_c_api.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/onnxruntime/core/session/onnxruntime_c_api.cc b/onnxruntime/core/session/onnxruntime_c_api.cc index 3201e123d0..42a9612b7b 100644 --- a/onnxruntime/core/session/onnxruntime_c_api.cc +++ b/onnxruntime/core/session/onnxruntime_c_api.cc @@ -2218,7 +2218,6 @@ static constexpr OrtApi ort_api_1_to_8 = { &OrtApis::GetCurrentGpuDeviceId, // End of Version 7 - DO NOT MODIFY ABOVE (see above text for more information) - // Version 8 - In development, feel free to add/remove/rearrange here &OrtApis::KernelInfoGetAttributeArray_float, &OrtApis::KernelInfoGetAttributeArray_int64, &OrtApis::CreateArenaCfgV2, @@ -2227,6 +2226,9 @@ static constexpr OrtApi ort_api_1_to_8 = { &OrtApis::ReleasePrepackedWeightsContainer, &OrtApis::CreateSessionWithPrepackedWeightsContainer, &OrtApis::CreateSessionFromArrayWithPrepackedWeightsContainer, + // End of Version 8 - DO NOT MODIFY ABOVE (see above text for more information) + + // Version 9 - 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)