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.
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
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