ONNX Runtime
Loading...
Searching...
No Matches
OrtExternalSemaphoreDescriptor Struct Reference

Descriptor for importing external semaphores. More...

#include <onnxruntime_c_api.h>

Public Attributes

uint32_t version
 
OrtExternalSemaphoreType type
 
void * native_handle
 

Detailed Description

Descriptor for importing external semaphores.

Note
The version field must be set to ORT_API_VERSION. This ensures forward compatibility as fields may be added in future versions.
Since
Version 1.24.

Member Data Documentation

◆ native_handle

void* OrtExternalSemaphoreDescriptor::native_handle

Platform-specific handle (e.g., Windows HANDLE)

◆ type

OrtExternalSemaphoreType OrtExternalSemaphoreDescriptor::type

Type of the external semaphore

◆ version

uint32_t OrtExternalSemaphoreDescriptor::version

Must be ORT_API_VERSION