clDNN
cldnn::program Struct Reference

Compiled program build from topology by engine. More...

#include <program.hpp>

Public Member Functions

 program (engine const &engine, topology const &topology, build_options const &options=build_options())
 Builds executable program based on user-defined topology by specified engine. More...
 
 program (program const &other)
 Retains the C API cldnn_program handler stored in other.
 
 ~program ()
 Dereferences the counter of the underlying C API cldnn_program handler.
 
programoperator= (const program &other)
 Assigns new value by releasing previously referenced C API cldnn_program handler and retaining the one referenced by other.
 
::cldnn_program get () const
 Returns wrapped C API cldnn_program handler.
 

Friends

bool operator== (const program &lhs, const program &rhs)
 Checks whether lhs and rhs reference the same C API cldnn_program handler.
 
bool operator!= (const program &lhs, const program &rhs)
 Checks whether lhs and rhs reference different C API cldnn_program handlers.
 

Detailed Description

Compiled program build from topology by engine.

Definition at line 497 of file program.hpp.

Constructor & Destructor Documentation

◆ program()

cldnn::program::program ( engine const &  engine,
topology const &  topology,
build_options const &  options = build_options() 
)
inline

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]optionsProgram build options. See build_option and build_options for details.

Definition at line 506 of file program.hpp.


The documentation for this struct was generated from the following file: