GetCUDAProviderOptionsAsString property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtCUDAProviderOptionsV2> cuda_options, Pointer<OrtAllocator> allocator, Pointer<Pointer<Char> > ptr)> >
GetCUDAProviderOptionsAsString
getter/setter pair
Get serialized CUDA provider options string.
For example, "device_id=0;arena_extend_strategy=0;......"
\param cuda_options - OrtCUDAProviderOptionsV2 instance \param allocator - a ptr to an instance of OrtAllocator obtained with CreateAllocator() or GetAllocatorWithDefaultOptions() the specified allocator will be used to allocate continuous buffers for output strings and lengths. \param ptr - is a UTF-8 null terminated string allocated using 'allocator'. The caller is responsible for using the same allocator to free it.
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.11.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtCUDAProviderOptionsV2> cuda_options,
ffi.Pointer<OrtAllocator> allocator,
ffi.Pointer<ffi.Pointer<ffi.Char>> ptr,
)
>
>
GetCUDAProviderOptionsAsString;