diff options
Diffstat (limited to 'arm_compute/AclTypes.h')
-rw-r--r-- | arm_compute/AclTypes.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arm_compute/AclTypes.h b/arm_compute/AclTypes.h index 69717ec8a8..902a508b91 100644 --- a/arm_compute/AclTypes.h +++ b/arm_compute/AclTypes.h @@ -33,6 +33,8 @@ extern "C" { /**< Opaque Context object */ typedef struct AclContext_ *AclContext; +/**< Opaque Queue object */ +typedef struct AclQueue_ *AclQueue; /**< Opaque Tensor object */ typedef struct AclTensor_ *AclTensor; /**< Opaque Tensor pack object */ @@ -138,6 +140,22 @@ typedef struct AclContextOptions AclAllocator *allocator; /**< Allocator to be used by all the memory internally */ } AclContextOptions; +/**< Supported tuning modes */ +typedef enum +{ + AclTuningModeNone = 0, /**< No tuning */ + AclRapid = 1, /**< Fast tuning mode, testing a small portion of the tuning space */ + AclNormal = 2, /**< Normal tuning mode, gives a good balance between tuning mode and performance */ + AclExhaustive = 3, /**< Exhaustive tuning mode, increased tuning time but with best results */ +} AclTuningMode; + +/**< Queue options */ +typedef struct +{ + AclTuningMode mode; /**< Tuning mode */ + int32_t compute_units; /**< Compute Units that the queue will deploy */ +} AclQueueOptions; + /**< Supported data types */ typedef enum AclDataType { |