code: @Deprecated
      public static int cuGLCtxCreate( CUcontext pCtx, int Flags, CUdevice device )
      {
          return checkResult(cuGLCtxCreateNative(pCtx, Flags, device));
      }
docs: Create a CUDA context for interoperability with OpenGL.
  
  <pre>
  CUresult cuGLCtxCreate (
  CUcontext* pCtx,
  unsigned int  Flags,
  CUdevice device )
  </pre>
  <div>
  <p>Create a CUDA context for
  interoperability with OpenGL.
  Deprecated<span>This function is
  deprecated as of Cuda 5.0.</span>This function is deprecated and should
  no longer be used. It is no longer necessary to associate a CUDA
  context with an OpenGL
  context in order to achieve maximum
  interoperability performance.
  </p>
  <div>
  <span>Note:</span>
  <p>Note that
  this function may also return error codes from previous, asynchronous
  launches.
  </p>
  </div>
  </p>
  </div>
  
  @param pCtx Returned CUDA context
  @param Flags Options for CUDA context creation
  @param device Device on which to create the context
  
  @return CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED,
  CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE,
  CUDA_ERROR_OUT_OF_MEMORY
  
  @see JCudaDriver#cuCtxCreate
  @see JCudaDriver#cuGLInit
  @see JCudaDriver#cuGLMapBufferObject
  @see JCudaDriver#cuGLRegisterBufferObject
  @see JCudaDriver#cuGLUnmapBufferObject
  @see JCudaDriver#cuGLUnregisterBufferObject
  @see JCudaDriver#cuGLMapBufferObjectAsync
  @see JCudaDriver#cuGLUnmapBufferObjectAsync
  @see JCudaDriver#cuGLSetBufferObjectMapFlags
  
  @deprecated Deprecated as of CUDA 5.0