code: public static int cudaGraphicsUnmapResources(int count, cudaGraphicsResource resources[], cudaStream_t stream)
      {
          return checkResult(cudaGraphicsUnmapResourcesNative(count, resources, stream));
      }
docs: Unmap graphics resources.
  
  <pre>
  cudaError_t cudaGraphicsUnmapResources (
  int  count,
  cudaGraphicsResource_t* resources,
  cudaStream_t stream = 0 )
  </pre>
  <div>
  <p>Unmap graphics resources.  Unmaps the
  <tt>count</tt> graphics resources in <tt>resources</tt>.
  </p>
  <p>Once unmapped, the resources in <tt>resources</tt> may not be accessed by CUDA until they are mapped
  again.
  </p>
  <p>This function provides the synchronization
  guarantee that any CUDA work issued in <tt>stream</tt> before
  cudaGraphicsUnmapResources() will complete before any subsequently
  issued graphics work begins.
  </p>
  <p>If <tt>resources</tt> contains any
  duplicate entries then cudaErrorInvalidResourceHandle is returned. If
  any of <tt>resources</tt> are not presently mapped for access by CUDA
  then cudaErrorUnknown 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 count Number of resources to unmap
  @param resources Resources to unmap
  @param stream Stream for synchronization
  
  @return cudaSuccess, cudaErrorInvalidResourceHandle, cudaErrorUnknown
  
  @see JCuda#cudaGraphicsMapResources