CanImportSemaphore property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtExternalResourceImporter> importer, UnsignedInt type, Pointer<Bool> out_supported)>> CanImportSemaphore
getter/setter pair

\brief Check if the external resource importer can import a specific semaphore type.

\paramin importer The OrtExternalResourceImporter instance. \paramin type The type of external semaphore to check. \paramout out_supported Set to true if the semaphore type is supported.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.24.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtExternalResourceImporter> importer,
      ffi.UnsignedInt type,
      ffi.Pointer<ffi.Bool> out_supported,
    )
  >
>
CanImportSemaphore;