code: public static int cuGraphicsResourceGetMappedPointer( CUdeviceptr pDevPtr, long pSize[], CUgraphicsResource resource )
      {
          return checkResult(cuGraphicsResourceGetMappedPointerNative(pDevPtr, pSize, resource));
      }
docs: Get a device pointer through which to access a mapped graphics resource.
  
  <pre>
  CUresult cuGraphicsResourceGetMappedPointer (
  CUdeviceptr* pDevPtr,
  size_t* pSize,
  CUgraphicsResource resource )
  </pre>
  <div>
  <p>Get a device pointer through which to
  access a mapped graphics resource.  Returns in <tt>*pDevPtr</tt> a
  pointer through which the mapped graphics resource <tt>resource</tt>
  may be accessed. Returns in <tt>pSize</tt> the size of the memory in
  bytes which may be accessed from that pointer. The value set in <tt>pPointer</tt> may change every time that <tt>resource</tt> is
  mapped.
  </p>
  <p>If <tt>resource</tt> is not a buffer
  then it cannot be accessed via a pointer and CUDA_ERROR_NOT_MAPPED_AS_POINTER
  is returned. If <tt>resource</tt> is not mapped then CUDA_ERROR_NOT_MAPPED
  is returned. *
  </p>
  <div>
  <span>Note:</span>
  <p>Note that this
  function may also return error codes from previous, asynchronous
  launches.
  </p>
  </div>
  </p>
  </div>
  
  @param pDevPtr Returned pointer through which resource may be accessed
  @param pSize Returned size of the buffer accessible starting at *pPointer
  @param resource Mapped resource to access
  
  @return CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED,
  CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE,
  CUDA_ERROR_INVALID_HANDLE,
  CUDA_ERROR_NOT_MAPPEDCUDA_ERROR_NOT_MAPPED_AS_POINTER
  
  @see JCudaDriver#cuGraphicsMapResources
  @see JCudaDriver#cuGraphicsSubResourceGetMappedArray