Nengo.ca

ca.nengo.util.impl
Class GPUThread

java.lang.Object
  extended by java.lang.Thread
      extended by ca.nengo.util.impl.NodeThread
          extended by ca.nengo.util.impl.GPUThread
All Implemented Interfaces:
java.lang.Runnable

public class GPUThread
extends NodeThread

A thread which uses an NEFGPUInterface to run GPU nodes and projections.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
GPUThread(NodeThreadPool nodePool)
           
 
Method Summary
 NEFGPUInterface getNEFGPUInterface()
           
protected  void kill()
           
protected  void runNodes(float startTime, float endTime)
           
 
Methods inherited from class ca.nengo.util.impl.NodeThread
finished, getMyAverageTimeOnNodesPerStep, getMyAverageTimeOnProjectionsPerStep, getMyAverageTimeOnTasksPerStep, run, runProjections, runTasks, setCollectTimings, waitForPool
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GPUThread

public GPUThread(NodeThreadPool nodePool)
Method Detail

runNodes

protected void runNodes(float startTime,
                        float endTime)
                 throws SimulationException
Overrides:
runNodes in class NodeThread
Throws:
SimulationException

getNEFGPUInterface

public NEFGPUInterface getNEFGPUInterface()

kill

protected void kill()
Overrides:
kill in class NodeThread

Nengo.ca