onnxruntime/onnxruntime/test/shared_lib
Dmitri Smirnov 896a963492
Adust GetVersionString() GetBuildInfoString() signatures and move them to OrtApi (#15921)
### Description

This PR partially reverts changes introduced in
https://github.com/microsoft/onnxruntime/pull/15643

We make two API return std::string always in UTF-8.

We also move the entry points from OrtApiBase to OrtApi to make them
versioned.

### Motivation and Context

`GetVersionString` always returns x.y.z numbers that are not subject to
internationalization.
`GetBuildInfoString` can hold international chars, but UTF-8 should be
fine to contain those.
We prefix them with u8"" in case the compiler default charset is not
UTF-8.
Furthermore, creating platform dependent APIs is discouraged.
`ORTCHAR_T` is platform dependent and was created for paths only.
On non-unix platforms would still produce `std::string` that can only
contain UTF-8

The API was introduced after the latest release, and can still be
adjusted.
2023-05-13 13:45:07 -07:00
..
cuda_ops.cu
custom_op_utils.cc Create a new C API KernelContext_GetAllocator() for Custom Op scenario (#15591) 2023-04-23 21:54:35 -07:00
custom_op_utils.h Single-schema-multi-kernel (#15184) 2023-04-27 13:39:59 -07:00
fns_candy_style_transfer.c
onnx_protobuf.h
test_allocator.cc Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
test_fixture.h Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
test_inference.cc Adust GetVersionString() GetBuildInfoString() signatures and move them to OrtApi (#15921) 2023-05-13 13:45:07 -07:00
test_io_types.cc Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
test_model_loading.cc Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
test_nontensor_types.cc Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
test_ort_format_models.cc Changes to support standalone custom ops in a minimal build. (#14497) 2023-03-01 11:22:54 +10:00
test_run_options.cc
test_session_options.cc [CUDA] Update fused MHA to support flash attention and causal mask (#13953) 2022-12-31 10:33:54 -08:00
utils.cc
utils.h