UpdateCUDAProviderOptionsWithValue property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtCUDAProviderOptionsV2> cuda_options, Pointer<Char> key, Pointer<Void> value)>> UpdateCUDAProviderOptionsWithValue
getter/setter pair

Update CUDA EP provider option where its data type is pointer, for example 'user_compute_stream'. If the data type of the provider option can be represented by string please use UpdateCUDAProviderOptions.

Note: It's caller's responsibility to properly manage the lifetime of the instance pointed by this pointer.

\param cuda_options - OrtCUDAProviderOptionsV2 instance \param key - Name of the provider option \param value - A pointer to the instance that will be assigned to this provider option

\since Version 1.16.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtCUDAProviderOptionsV2> cuda_options,
      ffi.Pointer<ffi.Char> key,
      ffi.Pointer<ffi.Void> value,
    )
  >
>
UpdateCUDAProviderOptionsWithValue;