ca.nengo.util.impl
Class GPUNodeThreadPool
java.lang.Object
ca.nengo.util.impl.NodeThreadPool
ca.nengo.util.impl.GPUNodeThreadPool
public class GPUNodeThreadPool
- extends NodeThreadPool
Fields inherited from class ca.nengo.util.impl.NodeThreadPool |
defaultNumThreads, isSleeping, myEndTime, myKill, myLock, myNodeArray, myNodes, myNodeThreads, myNumNodesProcessed, myNumNodesRequired, myNumThreads, myStartTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myUseGPU
public static boolean myUseGPU
myNativeThread
protected GPUThread myNativeThread
myGPUThreadLock
protected java.util.concurrent.locks.Lock myGPUThreadLock
myGPUThreadCondition
protected java.util.concurrent.locks.Condition myGPUThreadCondition
myGPUThreadSleeping
protected boolean myGPUThreadSleeping
myGPUNodes
protected Node[] myGPUNodes
myNumGPUNodes
protected int myNumGPUNodes
oldNumThreads
protected int oldNumThreads
mySignal
protected int mySignal
GPUNodeThreadPool
public GPUNodeThreadPool(Node[] nodes)
setUseGPU
public static void setUseGPU(boolean value)
getUseGPU
public static boolean getUseGPU()
sleep
public void sleep()
initialize
protected void initialize(Node[] nodes)
- Overrides:
initialize
in class NodeThreadPool
step
public void step(float startTime,
float endTime)
- Overrides:
step
in class NodeThreadPool
kill
public void kill()
- Overrides:
kill
in class NodeThreadPool
finishedGPUNodes
public void finishedGPUNodes()