SessionOptionsAppendExecutionProvider_ROCM property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtSessionOptions> options, Pointer<OrtROCMProviderOptions> rocm_options)>> SessionOptionsAppendExecutionProvider_ROCM
getter/setter pair

\brief Append ROCM execution provider to the session options

If ROCM is not available (due to a non ROCM enabled build, or if ROCM is not installed on the system), this function will return failure.

\paramin options \paramin rocm_options

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtSessionOptions> options,
      ffi.Pointer<OrtROCMProviderOptions> rocm_options,
    )
  >
>
SessionOptionsAppendExecutionProvider_ROCM;