cuda.bindings._v2.driver.graphics_unmap_resources#
- cuda.bindings._v2.driver.graphics_unmap_resources(
- unsigned int count,
- resources,
- intptr_t h_stream,
Unmap graphics resources.
Unmaps the
countgraphics resources inresources. Once unmapped, the resources inresourcesmay not be accessed by CUDA until they are mapped again. This function provides the synchronization guarantee that any CUDA work issued instreambeforegraphics_unmap_resources()will complete before any subsequently issued graphics work begins. Ifresourcesincludes any duplicate entries thenCUDA_ERROR_INVALID_HANDLEis returned. If any ofresourcesare not presently mapped for access by CUDA thenCUDA_ERROR_NOT_MAPPEDis returned.- Parameters:
See also
cuGraphicsUnmapResources