HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ML_Types.h File Reference
#include "ML_API.h"
+ Include dependency graph for ML_Types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  ML_ExecutionProvider {
  ML_ExecutionProvider::AUTOMATIC, ML_ExecutionProvider::CPU, ML_ExecutionProvider::CUDA, ML_ExecutionProvider::DIRECTML,
  ML_ExecutionProvider::COREML, ML_ExecutionProvider::COUNT
}
 

Enumeration Type Documentation

enum ML_ExecutionProvider
strong
Enumerator
AUTOMATIC 

Automatically determine the best provider based on the platform and hardware available

CPU 

CPU inference provider, works on all platforms.

CUDA 

CUDA/cudNN inference provider, works on Windows and Linux assuming the GPU driver is new enough and cudNN is installed on the system

DIRECTML 

Uses DirectML, only supported on Windows.

COREML 

Uses CoreML, only supported on macOS.

COUNT 

The total number of providers.

Definition at line 17 of file ML_Types.h.