![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The WorkspaceArgs are passed to both the Layer::OnSetWorkspace and Layer::OnGetWorkspace events. More...
Public Member Functions | |
| WorkspaceArgs (long hData, ulong lSize) | |
| The WorkspaceArgs constructor. More... | |
Properties | |
| long | WorkspaceData [getset] |
| Get/set the handle to workspace data in GPU memory. More... | |
| ulong | WorkspaceSizeInBytes [getset] |
| Get/set the workspace memory size in bytes. More... | |
The WorkspaceArgs are passed to both the Layer::OnSetWorkspace and Layer::OnGetWorkspace events.
These events allow for sharing workspace GPU memory among layers thus conserving overall GPU memory usage.
Definition at line 16 of file EventArgs.cs.
| MyCaffe.common.WorkspaceArgs.WorkspaceArgs | ( | long | hData, |
| ulong | lSize | ||
| ) |
The WorkspaceArgs constructor.
| hData | Specifies a handle to the GPU memory for workspace data. |
| lSize | Specifies the size of the workspace memory (in bytes). |
Definition at line 26 of file EventArgs.cs.
|
getset |
Get/set the handle to workspace data in GPU memory.
Definition at line 35 of file EventArgs.cs.
|
getset |
Get/set the workspace memory size in bytes.
Definition at line 44 of file EventArgs.cs.