|
OpenNet
|
This class define the processor level interface. More...
#include <Processor.h>
Classes | |
| struct | Config |
| This structure contains the configuration of a Processor. More... | |
| struct | Info |
| This structure contains the information about a Processor. More... | |
Public Member Functions | |
| virtual Status | GetConfig (Config *aOut) const =0 |
| Retrieve configuration. More... | |
| virtual void * | GetContext ()=0 |
| Retrieve the OpenCL context. More... | |
| virtual void * | GetDevice ()=0 |
| Retrieve the OpenCL device id. More... | |
| virtual Status | GetInfo (Info *aOut) const =0 |
| Retrieve the Info. More... | |
| virtual const char * | GetName () const =0 |
| Retrieve the instance's name. More... | |
| virtual Status | SetConfig (const Config &aConfig)=0 |
| Modify the configuration. More... | |
| virtual UserBuffer * | AllocateUserBuffer (unsigned int aSize_byte)=0 |
| Allocate a user buffer in the processor memory. More... | |
| virtual Status | Display (FILE *aOut) const =0 |
| Display. More... | |
Static Public Member Functions | |
| static OPEN_NET_PUBLIC Status | Display (const Info &aIn, FILE *aOut) |
| Display. More... | |
This class define the processor level interface.
|
pure virtual |
Allocate a user buffer in the processor memory.
| aSize_byte | The size of the buffer |
| NULL | Error |
| Other | The UserBuffer instance |
|
static |
Display.
| aIn | The Info instance to Display |
| aOut | The output stream |
| STATUS_OK | |
| STATUS_INVALID_REFERENCE | |
| STATUS_NOT_ALLOWER_NULL_ARGUMENT |
|
pure virtual |
Display.
| aOut | The output stream |
| STATUS_OK | |
| STATUS_NOT_ALLOWED_NULL_ARGUMENT |
|
pure virtual |
Retrieve configuration.
| aOut | The configuration |
| STATUS_OK | |
| STATUS_NOT_ALLOWER_NULL_ARGUMENT |
|
pure virtual |
Retrieve the OpenCL context.
|
pure virtual |
Retrieve the OpenCL device id.
|
pure virtual |
|
pure virtual |
Retrieve the instance's name.
| This | method returns the address of an internal buffer. |
|
pure virtual |
Modify the configuration.
| aConfig | The configuration |
| STATUS_OK | |
| STATUS_INVALID_REFERENCE |
1.8.9.1