onnxruntime/onnxruntime/test/util
Scott McKay 8f2e57f5d0
Make session configuration options available to kernels via OpKernelInfo (#18897)
### Description
<!-- Describe your changes. -->
Pass through the ConfigOptions from the session via OpKernelInfo so that
kernel behavior can be configured.

Initial usage would be to optionally enable a fast path for ARM64 bloat16 GEMM - see #17031
Other usages could be things like selected the exact implementations of the activation functions for RNN operators instead of the default approximations (e.g. use [sigmoid_exact instead of sigmoid](2d6e2e243d/onnxruntime/core/providers/cpu/rnn/rnn_helpers.h (L379-L382)))

OpKernelInfo is already passing through things from the session state, and adding a new member of ConfigOptions
is the simpler update. It's also a more natural fit given it's providing state/info to the kernel.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
2024-01-13 10:02:43 +10:00
..
include Make session configuration options available to kernels via OpKernelInfo (#18897) 2024-01-13 10:02:43 +10:00
compare_ortvalue.cc
default_providers.cc CP 7fd1ce95a4 (#18560) 2024-01-03 16:13:11 -08:00
file_util.cc
scoped_env_vars.cc
temp_dir.cc
tensors_from_file.cc Move attention test data to file (#17158) 2023-08-15 21:31:57 -07:00
test_allocator.cc
test_environment.cc
test_random_seed.cc
test_utils.cc [QNN EP] Fix a bug that can't create context binary if the model has inputs/outputs with different data type (#18722) 2023-12-06 13:07:09 -08:00