code: @Deprecated
      public static int cudaGLMapBufferObjectAsync(Pointer devPtr, int bufObj, cudaStream_t stream)
      {
          return checkResult(cudaGLMapBufferObjectAsyncNative(devPtr, bufObj, stream));
      }
docs: Maps a buffer object for access by CUDA.
  
  <pre>
  cudaError_t cudaGLMapBufferObjectAsync (
  void** devPtr,
  GLuint bufObj,
  cudaStream_t stream )
  </pre>
  <div>
  <p>Maps a buffer object for access by CUDA.
  Deprecated<span>This function is
  deprecated as of CUDA 3.0.</span>Maps the buffer object of ID <tt>bufObj</tt> into the address space of CUDA and returns in <tt>*devPtr</tt> the base pointer of the resulting mapping. The buffer
  must have previously been registered by calling cudaGLRegisterBufferObject().
  While a buffer is mapped by CUDA, any OpenGL operation which references
  the buffer will result in undefined behavior. The
  OpenGL context used to create the buffer,
  or another context from the same share group, must be bound to the
  current thread
  when this is called.
  </p>
  <p>Stream /p stream is synchronized with
  the current GL context.
  </p>
  <div>
  <span>Note:</span>
  <p>Note that this
  function may also return error codes from previous, asynchronous
  launches.
  </p>
  </div>
  </p>
  </div>
  
  @param devPtr Returned device pointer to CUDA object
  @param bufObj Buffer object ID to map
  @param stream Stream to synchronize
  
  @return cudaSuccess, cudaErrorMapBufferObjectFailed
  
  @see JCuda#cudaGraphicsMapResources
  
  @deprecated Deprecated as of CUDA 3.0