![]() |
Neuron Net
|
Class for working with OpenCL. More...
Public Member Functions | |
| COpenCLMy (void) | |
| Constructor. More... | |
| ~COpenCLMy (void) | |
| Destructor. More... | |
| template<typename T > | |
| int | AddBufferFromArray (T &data[], const uint data_array_offset, const uint data_array_count, const uint flags) |
| Method for creating OpenCL buffer from array. More... | |
Class for working with OpenCL.
Definition at line 623 of file NeuroNet.mqh.
|
inline |
Constructor.
Definition at line 626 of file NeuroNet.mqh.
|
inline |
Destructor.
Definition at line 627 of file NeuroNet.mqh.
| int COpenCLMy::AddBufferFromArray | ( | T & | data[], |
| const uint | data_array_offset, | ||
| const uint | data_array_count, | ||
| const uint | flags | ||
| ) |
Method for creating OpenCL buffer from array.
| data[] | Array of data. |
| data_array_offset | Offset of data in array. |
| data_array_count | Number of data items in array. |
| flags | Buffer's properties (CL_MEM_READ_WRITE, CL_MEM_WRITE_ONLY, CL_MEM_READ_ONLY, CL_MEM_ALLOC_HOST_PTR) |
Definition at line 2694 of file NeuroNet.mqh.