UpdateROCMProviderOptions property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtROCMProviderOptions> rocm_options, Pointer<Pointer<Char> > provider_options_keys, Pointer<Pointer<Char> > provider_options_values, Size num_keys)> >
UpdateROCMProviderOptions
getter/setter pair
\brief Set options in a ROCm Execution Provider.
Please refer to https://onnxruntime.ai/docs/execution-providers/ROCm-ExecutionProvider.html to know the available keys and values. Key should be in null terminated string format of the member of ::OrtROCMProviderOptions and value should be its related range.
For example, key="device_id" and value="0"
\paramin rocm_options
\paramin provider_options_keys Array of UTF-8 null-terminated string for provider options keys
\paramin provider_options_values Array of UTF-8 null-terminated string for provider options values
\paramin num_keys Number of elements in the provider_option_keys and provider_options_values arrays
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.16.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtROCMProviderOptions> rocm_options,
ffi.Pointer<ffi.Pointer<ffi.Char>> provider_options_keys,
ffi.Pointer<ffi.Pointer<ffi.Char>> provider_options_values,
ffi.Size num_keys,
)
>
>
UpdateROCMProviderOptions;