![]() |
MyCaffe
1.11.8.27
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 | Data [getset] |
Get/set the handle to workspace data in GPU memory. More... | |
ulong | Size [getset] |
Get/set the size of the workspace memory (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. |
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 size of the workspace memory (in bytes).
Definition at line 44 of file EventArgs.cs.