ca.nengo.util.impl
Class NEFGPUInterface

java.lang.Object
  extended by ca.nengo.util.impl.NEFGPUInterface

public class NEFGPUInterface
extends java.lang.Object


Field Summary
protected  float myEndTime
           
protected  Node[] myGPUNetworkArrays
           
protected  Node[] myGPUNodes
           
protected  Projection[] myGPUProjections
           
protected  Node[] myNodes
           
protected  Projection[] myProjections
           
protected  float myStartTime
           
 
Constructor Summary
NEFGPUInterface(Node[] nodes, Projection[] projections, Node[] networkArrays)
           
 
Method Summary
 int[][] findAdjacencyMatrix(Node[] nodes, Projection[] projections)
           
static int getRequestedNumDevices()
           
static boolean getUseGPU()
           
static void hideGPUTiming()
           
 void initialize(Node[] nodes, Projection[] projections, Node[] networkArrays)
           
 void kill()
           
static void setRequestedNumDevices(int value)
           
static void setUseGPU(boolean value)
           
static void showGPUTiming()
           
 void step(float startTime, float endTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myGPUNodes

protected Node[] myGPUNodes

myGPUProjections

protected Projection[] myGPUProjections

myGPUNetworkArrays

protected Node[] myGPUNetworkArrays

myNodes

protected Node[] myNodes

myProjections

protected Projection[] myProjections

myStartTime

protected float myStartTime

myEndTime

protected float myEndTime
Constructor Detail

NEFGPUInterface

public NEFGPUInterface(Node[] nodes,
                       Projection[] projections,
                       Node[] networkArrays)
Method Detail

setRequestedNumDevices

public static void setRequestedNumDevices(int value)

getRequestedNumDevices

public static int getRequestedNumDevices()

setUseGPU

public static void setUseGPU(boolean value)

getUseGPU

public static boolean getUseGPU()

showGPUTiming

public static void showGPUTiming()

hideGPUTiming

public static void hideGPUTiming()

initialize

public void initialize(Node[] nodes,
                       Projection[] projections,
                       Node[] networkArrays)

step

public void step(float startTime,
                 float endTime)

kill

public void kill()

findAdjacencyMatrix

public int[][] findAdjacencyMatrix(Node[] nodes,
                                   Projection[] projections)