C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

AreCPUsPresent() публичный Метод

public AreCPUsPresent ( ) : bool
Результат bool

ChooseDevice() публичный Метод

Choose a device. If a GPU is found, return that. Otherwise try to find a CPU.
public ChooseDevice ( ) : EncogCLDevice
Результат EncogCLDevice

ChooseDevice() публичный Метод

Choose a device. Simply returns the first device detected.
public ChooseDevice ( bool useGPU ) : EncogCLDevice
useGPU bool Do we prefer to use the GPU?
Результат EncogCLDevice

DisableAllCPUs() публичный Метод

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
Результат void

EnableAllCPUs() публичный Метод

Enable all devices that are CPU's.
public EnableAllCPUs ( ) : void
Результат void

EncogCL() публичный Метод

Construct an Encog OpenCL object.
public EncogCL ( ) : System
Результат System

ToString() публичный Метод

All platforms detected.
public ToString ( ) : System.String
Результат System.String