MyCaffe  1.11.7.7
Deep learning software for Windows C# programmers.
MyCaffe.common.WorkspaceArgs Class Reference

The WorkspaceArgs are passed to both the Layer::OnSetWorkspace and Layer::OnGetWorkspace events. More...

Inheritance diagram for MyCaffe.common.WorkspaceArgs:

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ WorkspaceArgs()

MyCaffe.common.WorkspaceArgs.WorkspaceArgs ( long  hData,
ulong  lSize 
)

The WorkspaceArgs constructor.

Parameters
hDataSpecifies a handle to the GPU memory.
lSizeSpecifies the size of the workspace memory (in bytes).

Definition at line 26 of file EventArgs.cs.

Property Documentation

◆ Data

long MyCaffe.common.WorkspaceArgs.Data
getset

Get/set the handle to workspace data in GPU memory.

Definition at line 35 of file EventArgs.cs.

◆ Size

ulong MyCaffe.common.WorkspaceArgs.Size
getset

Get/set the size of the workspace memory (in bytes).

Definition at line 44 of file EventArgs.cs.


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