jcuda.driver
Class CUGLDeviceList

java.lang.Object
  extended by jcuda.driver.CUGLDeviceList

public class CUGLDeviceList
extends java.lang.Object

CUDA devices corresponding to an OpenGL device


Field Summary
static int CU_GL_DEVICE_LIST_ALL
          The CUDA devices for all GPUs used by the current OpenGL context
static int CU_GL_DEVICE_LIST_CURRENT_FRAME
          The CUDA devices for the GPUs used by the current OpenGL context in its currently rendering frame
static int CU_GL_DEVICE_LIST_NEXT_FRAME
          The CUDA devices for the GPUs to be used by the current OpenGL context in the next frame
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given CUGLDeviceList
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CU_GL_DEVICE_LIST_ALL

public static final int CU_GL_DEVICE_LIST_ALL
The CUDA devices for all GPUs used by the current OpenGL context

See Also:
Constant Field Values

CU_GL_DEVICE_LIST_CURRENT_FRAME

public static final int CU_GL_DEVICE_LIST_CURRENT_FRAME
The CUDA devices for the GPUs used by the current OpenGL context in its currently rendering frame

See Also:
Constant Field Values

CU_GL_DEVICE_LIST_NEXT_FRAME

public static final int CU_GL_DEVICE_LIST_NEXT_FRAME
The CUDA devices for the GPUs to be used by the current OpenGL context in the next frame

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns the String identifying the given CUGLDeviceList

Parameters:
n - The CUGLDeviceList
Returns:
The String identifying the given CUGLDeviceList