Class CUWGL

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CUWGL.Functions
      Contains the function pointers loaded from CU.getLibrary().
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int cuWGLGetDevice​(java.nio.IntBuffer pDevice, long hGpu)
      Gets the CUDA device associated with hGpu.
      static int ncuWGLGetDevice​(long pDevice, long hGpu)
      Unsafe version of: WGLGetDevice
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 with hGpu.
        Parameters:
        pDevice - device associated with hGpu
        hGpu - handle to a GPU, as queried via WGL_NV_gpu_affinity