Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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. |
Résultat | void |
public AddTrainingJob ( |
||
job | The training job to add. | |
Résultat | 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. |
Résultat | void |
public JobDone ( long time, |
||
time | long | Time took by the job. |
perf | The perfofmer that did the job. | |
Résultat | void |
public WaitForFreePerformer ( TrainingJob job ) : IConcurrentTrainingPerformer | ||
job | TrainingJob | |
Résultat | IConcurrentTrainingPerformer |