메소드 | 설명 | |
---|---|---|
AddPerformer ( IConcurrentTrainingPerformer performer ) : void |
Add a performer.
|
|
AddTrainingJob ( |
Add a training job.
|
|
ClearPerformers ( ) : void |
Clear all of the performers.
|
|
ClearQueue ( ) : void |
Clear the workload.
|
|
DetectPerformers ( ) : void |
Detect performers. Create one performer for each OpenCL device, and another for the CPU's. If there is an OpenCL device already for the CPU, do not create another CPU performer.
|
|
DetectPerformers ( bool splitCores, int forceCoreCount ) : void |
Detect performers. Create one performer for each OpenCL device, and another for the CPU's. If there is an OpenCL device already for the CPU, do not create another CPU performer.
|
|
JobDone ( long time, |
Report that a job is done.
|
|
Join ( ) : void |
Wait for all tasks to finish.
|
|
Run ( ) : void |
Perform the training. Called internally.
|
|
Start ( ) : void |
Start the manager.
|
|
ToString ( ) : String | ||
WaitForFreePerformer ( TrainingJob job ) : IConcurrentTrainingPerformer |
Wait for a free performer.
|
메소드 | 설명 | |
---|---|---|
ConcurrentTrainingManager ( ) : System |
Private constructor.
|
|
ReportErrors ( ) : void |
If an error has been reported, then throw it as an exception.
|
|
ReportStatus ( String str ) : void |
Report the status.
|
public AddPerformer ( IConcurrentTrainingPerformer performer ) : void | ||
performer | IConcurrentTrainingPerformer | The performer to add. |
리턴 | void |
public AddTrainingJob ( |
||
job | The training job to add. | |
리턴 | void |
public DetectPerformers ( bool splitCores, int forceCoreCount ) : void | ||
splitCores | bool | True, if a CPU performer should be created for each core. |
forceCoreCount | int | The core count to be forced. |
리턴 | void |
public JobDone ( long time, |
||
time | long | Time took by the job. |
perf | The perfofmer that did the job. | |
리턴 | void |
public WaitForFreePerformer ( TrainingJob job ) : IConcurrentTrainingPerformer | ||
job | TrainingJob | |
리턴 | IConcurrentTrainingPerformer |