C# Class Encog.Engine.Opencl.EncogCL

An OpenCL platform. A platform is a collection of OpenCL devices from the same vendor. Often, you will have only a single platform.
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
AreCPUsPresent ( ) : bool
ChooseDevice ( ) : EncogCLDevice

Choose a device. If a GPU is found, return that. Otherwise try to find a CPU.

ChooseDevice ( bool useGPU ) : EncogCLDevice

Choose a device. Simply returns the first device detected.

DisableAllCPUs ( ) : void

Disable all devices that are CPU's. This is a good idea to do if you are going to use regular CPU processing in conjunction with OpenCL processing where the CPU is made to look like a OpenCL device. Otherwise, you end up with the CPU serving as both a "regular CPU training task" and as an "OpenCL training task".

EnableAllCPUs ( ) : void

Enable all devices that are CPU's.

EncogCL ( ) : System

Construct an Encog OpenCL object.

ToString ( ) : System.String

All platforms detected.

Method Details

AreCPUsPresent() public méthode

public AreCPUsPresent ( ) : bool
Résultat bool

ChooseDevice() public méthode

Choose a device. If a GPU is found, return that. Otherwise try to find a CPU.
public ChooseDevice ( ) : EncogCLDevice
Résultat EncogCLDevice

ChooseDevice() public méthode

Choose a device. Simply returns the first device detected.
public ChooseDevice ( bool useGPU ) : EncogCLDevice
useGPU bool Do we prefer to use the GPU?
Résultat EncogCLDevice

DisableAllCPUs() public méthode

Disable all devices that are CPU's. This is a good idea to do if you are going to use regular CPU processing in conjunction with OpenCL processing where the CPU is made to look like a OpenCL device. Otherwise, you end up with the CPU serving as both a "regular CPU training task" and as an "OpenCL training task".
public DisableAllCPUs ( ) : void
Résultat void

EnableAllCPUs() public méthode

Enable all devices that are CPU's.
public EnableAllCPUs ( ) : void
Résultat void

EncogCL() public méthode

Construct an Encog OpenCL object.
public EncogCL ( ) : System
Résultat System

ToString() public méthode

All platforms detected.
public ToString ( ) : System.String
Résultat System.String