clDNN
C_program
Collaboration diagram for C_program:

Typedefs

typedef struct cldnn_program_impl * cldnn_program
 Compiled program build from cldnn_topology by cldnn_engine.
 

Functions

CLDNN_API cldnn_program cldnn_build_program (cldnn_engine engine, cldnn_topology topology, cldnn_build_option *options, size_t options_num, cldnn_status *status)
 Builds executable program based on user-defined topology by specified engine. More...
 
CLDNN_API void cldnn_retain_program (cldnn_program program, cldnn_status *status)
 Increment reference counter for the program object.
 
CLDNN_API void cldnn_release_program (cldnn_program program, cldnn_status *status)
 Decrement reference counter for the program object. Deletes object when counter becomes zero.
 

Detailed Description

Function Documentation

◆ cldnn_build_program()

CLDNN_API cldnn_program cldnn_build_program ( cldnn_engine  engine,
cldnn_topology  topology,
cldnn_build_option options,
size_t  options_num,
cldnn_status status 
)

Builds executable program based on user-defined topology by specified engine.

Parameters
[in]engineThe engine which will be used to build the program.
[in]topologyThe user-defined topology on which the network will be based.
[in]optionsThe pointer of array of cldnn_build_option which define network build options.
[in]options_numNumber of elements in the options array.