Package org.lwjgl.cuda
Class CUWGL
- java.lang.Object
-
- org.lwjgl.cuda.CUWGL
-
public class CUWGL extends java.lang.ObjectContains bindings to CUDA Driver OpenGL Interoperability API.This class contains Windows-specific functionality.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCUWGL.FunctionsContains the function pointers loaded fromCU.getLibrary().
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intcuWGLGetDevice(java.nio.IntBuffer pDevice, long hGpu)Gets the CUDA device associated withhGpu.static intncuWGLGetDevice(long pDevice, long hGpu)Unsafe version of:WGLGetDevice
-
-
-
Method Detail
-
ncuWGLGetDevice
public static int ncuWGLGetDevice(long pDevice, long hGpu)Unsafe version of:WGLGetDevice
-
cuWGLGetDevice
public static int cuWGLGetDevice(java.nio.IntBuffer pDevice, long hGpu)Gets the CUDA device associated withhGpu.Returns in
*pDevicethe CUDA device associated with ahGpu, if applicable.- Parameters:
pDevice- device associated with hGpuhGpu- handle to a GPU, as queried viaWGL_NV_gpu_affinity()
-
-