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"
34 #ifdef ENABLE_NPU_ADAPTER_ENUMERATION
54 #ifdef ENABLE_NPU_ADAPTER_ENUMERATION
88 ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_DML, _In_ OrtSessionOptions* options,
int device_id);
103 ORT_API_STATUS(OrtSessionOptionsAppendExecutionProviderEx_DML, _In_ OrtSessionOptions* options,
104 _In_
IDMLDevice* dml_device, _In_ ID3D12CommandQueue* cmd_queue);
116 ORT_API2_STATUS(SessionOptionsAppendExecutionProvider_DML, _In_ OrtSessionOptions* options,
int device_id);
127 ORT_API2_STATUS(SessionOptionsAppendExecutionProvider_DML1, _In_ OrtSessionOptions* options,
128 _In_
IDMLDevice* dml_device, _In_ ID3D12CommandQueue* cmd_queue);
134 ORT_API2_STATUS(CreateGPUAllocationFromD3DResource, _In_ ID3D12Resource* d3d_resource, _Out_
void** dml_resource);
146 ORT_API2_STATUS(GetD3D12ResourceFromAllocation, _In_ OrtAllocator* provider, _In_
void* dml_resource, _Out_ ID3D12Resource** d3d_resource);
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
const TypeMask operator~(const TypeMask &m1)
OrtDmlPerformancePreference Preference
GLboolean GLboolean GLboolean GLboolean a
std::enable_if< UT_EnableBitMask< T >::enable, T & >::type operator&=(T &lhs, T rhs)
ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_DML, _In_ OrtSessionOptions *options, int device_id)
const TypeMask operator|(const TypeMask &m1, const TypeMask &m2)
GLboolean GLboolean GLboolean b
const TypeMask operator&(const TypeMask &m1, const TypeMask &m2)
struct IDMLDevice IDMLDevice
OrtDmlDeviceFilter Filter
std::enable_if< UT_EnableBitMask< T >::enable, T & >::type operator^=(T &lhs, T rhs)
OrtDmlPerformancePreference
ORT_API2_STATUS(SessionOptionsAppendExecutionProvider_DML, _In_ OrtSessionOptions *options, int device_id)
std::enable_if< UT_EnableBitMask< T >::enable, T & >::type operator|=(T &lhs, T rhs)
const TypeMask operator^(const TypeMask &m1, const TypeMask &m2)