Zephyr API Documentation  3.0.0
A Scalable Open Source RTOS
3.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gna.h File Reference

Public API header file for Intel GNA driver. More...

Go to the source code of this file.

Data Structures

struct  gna_config
 
struct  gna_model_header
 
struct  gna_model_info
 
struct  gna_inference_req
 
struct  gna_inference_stats
 
struct  gna_inference_resp
 

Enumerations

enum  gna_result {
  GNA_RESULT_INFERENCE_COMPLETE , GNA_RESULT_SATURATION_OCCURRED , GNA_RESULT_OUTPUT_BUFFER_FULL_ERROR , GNA_RESULT_PARAM_OUT_OF_RANGE_ERROR ,
  GNA_RESULT_GENERIC_ERROR
}
 

Functions

static int gna_configure (const struct device *dev, struct gna_config *cfg)
 Configure the GNA device. More...
 
static int gna_register_model (const struct device *dev, struct gna_model_info *model, void **model_handle)
 Register a neural network model. More...
 
static int gna_deregister_model (const struct device *dev, void *model)
 De-register a previously registered neural network model. More...
 
static int gna_infer (const struct device *dev, struct gna_inference_req *req, gna_callback callback)
 Perform inference on a model with input vectors. More...
 

Detailed Description

Public API header file for Intel GNA driver.