MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.common.Worker< T > Class Template Reference

The Worker manages each 'non' root sover running, where each Worker operates on a different GPU. More...

Inheritance diagram for MyCaffe.common.Worker< T >:
MyCaffe.common.InternalThread< T >

Public Member Functions

 Worker ()
 The Worker constructor. More...
 
- Public Member Functions inherited from MyCaffe.common.InternalThread< T >
 InternalThread (bool bUseThreadVsTask=false)
 The InternalThread constructor. More...
 
void Dispose ()
 Releases all resources used by the InernalThread. More...
 
void StartInternalThread (CudaDnn< T > cuda, Log log, int nDeviceID=0, object arg=null, int nInitialDelay=0)
 Starts running the internal thread function which then calls the DoWork event. More...
 
void StopInternalThread ()
 Stops the internal thread. More...
 

Additional Inherited Members

- Protected Member Functions inherited from MyCaffe.common.InternalThread< T >
virtual void Dispose (bool bDisposing)
 Releases all resources used by the InernalThread. More...
 
void InternalThreadEntry (object obj)
 Specifies the internal thread entry. More...
 
- Properties inherited from MyCaffe.common.InternalThread< T >
bool CancellationPending [get]
 Returns whether or not a cancellation is pending. More...
 
bool IsStarted [get]
 Returns whether or not the internal thread has been started. More...
 
- Events inherited from MyCaffe.common.InternalThread< T >
EventHandler< ActionStateArgs< T > > DoWork
 The DoWork event is the working thread function. More...
 
EventHandler OnPreStop
 The OnPreStop event fires just after signalling the thread to stop. More...
 
EventHandler OnPreStart
 The OnPreStart event fires just before starting the thread. More...
 

Detailed Description

The Worker manages each 'non' root sover running, where each Worker operates on a different GPU.

Template Parameters
TSpecifies the base type float or double. Using float is recommended to conserve GPU memory.

Definition at line 428 of file Parallel.cs.

Constructor & Destructor Documentation

◆ Worker()

The Worker constructor.

Definition at line 435 of file Parallel.cs.


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