![]() |
ONNX Runtime
|
The CUDAProviderOptions (V2) More...
#include <onnxruntime_cxx_api.h>
Public Member Functions | |
| CUDAProviderOptions (std::nullptr_t) | |
| CUDAProviderOptions () | |
| Wraps OrtApi::CreateCUDAProviderOptions. | |
| void | Update (const std::unordered_map< std::string, std::string > &options) |
| Wrapper around OrtApi::GetCUDAProviderOptionsAsString. | |
| std::string | GetCUDAProviderOptionsAsString () const |
| Wrapper around OrtApi::UpdateCUDAProviderOptionsWithValue. | |
| void | UpdateWithValue (const char *key, void *value) |
| Wrapper around OrtApi::GetCUDAProviderOptionsByName. | |
| void * | GetOptionByName (const char *name) const |
Public Member Functions inherited from Ort::detail::Base< OrtCUDAProviderOptionsV2 > | |
| constexpr | Base ()=default |
| constexpr | Base (contained_type *p) noexcept |
| Base (const Base &)=delete | |
| Base (Base &&v) noexcept | |
| ~Base () | |
| Base & | operator= (const Base &)=delete |
| Base & | operator= (Base &&v) noexcept |
| constexpr | operator contained_type * () const noexcept |
| constexpr contained_type & | operator* () const noexcept |
| contained_type * | release () |
| Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. | |
Additional Inherited Members | |
Public Types inherited from Ort::detail::Base< OrtCUDAProviderOptionsV2 > | |
| using | contained_type = OrtCUDAProviderOptionsV2 |
Protected Attributes inherited from Ort::detail::Base< OrtCUDAProviderOptionsV2 > | |
| contained_type * | p_ |
The CUDAProviderOptions (V2)
Used to pass options to CUDA EP
|
inline |
| Ort::CUDAProviderOptions::CUDAProviderOptions | ( | ) |
Wraps OrtApi::CreateCUDAProviderOptions.
Wrapper around OrtApi::UpdateCUDAProviderOptions
| std::string Ort::CUDAProviderOptions::GetCUDAProviderOptionsAsString | ( | ) | const |
Wrapper around OrtApi::UpdateCUDAProviderOptionsWithValue.
| void * Ort::CUDAProviderOptions::GetOptionByName | ( | const char * | name | ) | const |
| void Ort::CUDAProviderOptions::Update | ( | const std::unordered_map< std::string, std::string > & | options | ) |
Wrapper around OrtApi::GetCUDAProviderOptionsAsString.
| void Ort::CUDAProviderOptions::UpdateWithValue | ( | const char * | key, |
| void * | value | ||
| ) |
Wrapper around OrtApi::GetCUDAProviderOptionsByName.