HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvino_provider_factory.h
Go to the documentation of this file.
1 // Copyright(C) 2019 Intel Corporation
2 // Licensed under the MIT License
3 
4 #include "onnxruntime_c_api.h"
5 
6 #ifdef __cplusplus
7 struct ProviderInfo_OpenVINO {
8  virtual std::vector<std::string> GetAvailableDevices() const = 0;
9 };
10 
11 extern "C" {
12 #endif
13 
14 /**
15  * \param device_type openvino device type and precision. Could be any of
16  * CPU_FP32, CPU_FP16, GPU_FP32, GPU_FP16, MYRIAD_FP16, VAD-M_FP16 or VAD-F_FP32.
17  */
18 ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_OpenVINO,
19  _In_ OrtSessionOptions* options, _In_ const char* device_type);
20 
21 #ifdef __cplusplus
22 }
23 #endif
#define _In_
ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_OpenVINO, _In_ OrtSessionOptions *options, _In_ const char *device_type)