7 #pragma warning(disable : 4201) // nonstandard extension used: nameless struct/union
8 #ifdef _GAMING_XBOX_SCARLETT
10 #elif defined(_GAMING_XBOX_XBOXONE)
27 #include "onnxruntime_c_api.h"
40 #ifdef ENABLE_NPU_ADAPTER_ENUMERATION
72 ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_DML, _In_ OrtSessionOptions* options,
int device_id);
87 ORT_API_STATUS(OrtSessionOptionsAppendExecutionProviderEx_DML, _In_ OrtSessionOptions* options,
88 _In_
IDMLDevice* dml_device, _In_ ID3D12CommandQueue* cmd_queue);
100 ORT_API2_STATUS(SessionOptionsAppendExecutionProvider_DML, _In_ OrtSessionOptions* options,
int device_id);
111 ORT_API2_STATUS(SessionOptionsAppendExecutionProvider_DML1, _In_ OrtSessionOptions* options,
112 _In_
IDMLDevice* dml_device, _In_ ID3D12CommandQueue* cmd_queue);
118 ORT_API2_STATUS(CreateGPUAllocationFromD3DResource, _In_ ID3D12Resource* d3d_resource, _Out_
void** dml_resource);
130 ORT_API2_STATUS(GetD3D12ResourceFromAllocation, _In_ OrtAllocator* provider, _In_
void* dml_resource, _Out_ ID3D12Resource** d3d_resource);
OrtDmlDeviceFilter operator|(OrtDmlDeviceFilter a, OrtDmlDeviceFilter b)
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
OrtDmlDeviceFilter & operator^=(OrtDmlDeviceFilter &a, OrtDmlDeviceFilter b)
OrtDmlPerformancePreference Preference
GLboolean GLboolean GLboolean GLboolean a
ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_DML, _In_ OrtSessionOptions *options, int device_id)
OrtDmlDeviceFilter operator&(OrtDmlDeviceFilter a, OrtDmlDeviceFilter b)
GLboolean GLboolean GLboolean b
struct IDMLDevice IDMLDevice
OrtDmlDeviceFilter Filter
OrtDmlDeviceFilter & operator&=(OrtDmlDeviceFilter &a, OrtDmlDeviceFilter b)
OrtDmlDeviceFilter operator~(OrtDmlDeviceFilter a)
OrtDmlPerformancePreference
ORT_API2_STATUS(SessionOptionsAppendExecutionProvider_DML, _In_ OrtSessionOptions *options, int device_id)
OrtDmlDeviceFilter operator^(OrtDmlDeviceFilter a, OrtDmlDeviceFilter b)
OrtDmlDeviceFilter & operator|=(OrtDmlDeviceFilter &a, OrtDmlDeviceFilter b)