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

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 for workspace data.
lSizeSpecifies the size of the workspace memory (in bytes).

Definition at line 26 of file EventArgs.cs.

Property Documentation

◆ WorkspaceData

long MyCaffe.common.WorkspaceArgs.WorkspaceData
getset

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

Definition at line 35 of file EventArgs.cs.

◆ WorkspaceSizeInBytes

ulong MyCaffe.common.WorkspaceArgs.WorkspaceSizeInBytes
getset

Get/set the workspace memory size in bytes.

Definition at line 44 of file EventArgs.cs.


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