org.encog.engine.opencl
Class EncogCLItem

java.lang.Object
  extended by org.encog.engine.opencl.EncogCLItem
Direct Known Subclasses:
EncogCLDevice, EncogCLPlatform

public class EncogCLItem
extends Object

Common data held by OpenCL devices and platforms.


Constructor Summary
EncogCLItem()
           
 
Method Summary
 String getName()
           
 String getVender()
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
          Enable or disable this device or platform.
 void setName(String name)
          Set the name of this platform or device.
 void setVender(String vender)
          Set the vender for this platform or device.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncogCLItem

public EncogCLItem()
Method Detail

getName

public String getName()
Returns:
The name of this platform or device.

getVender

public String getVender()
Returns:
The vender for this platform or device.

isEnabled

public boolean isEnabled()
Returns:
True if this device or platform is enabled.

setEnabled

public void setEnabled(boolean enabled)
Enable or disable this device or platform.

Parameters:
enabled - True, if enabled.

setName

public void setName(String name)
Set the name of this platform or device.

Parameters:
name - The name of this platform or device.

setVender

public void setVender(String vender)
Set the vender for this platform or device.

Parameters:
vender - The vender.


Copyright © 2011. All Rights Reserved.