|
cudaError_t cudaD3D10UnmapResources |
( |
int |
count, |
|
|
ID3D10Resource ** |
ppResources | |
|
) |
| | |
Unmaps the count Direct3D resource in ppResources .
This function provides the synchronization guarantee that any CUDA kernels issued before cudaD3D10UnmapResources() will complete before any Direct3D calls issued after cudaD3D10UnmapResources() begin.
If any of ppResources have not been registered for use with CUDA or if ppResources contains any duplicate entries, then cudaErrorInvalidResourceHandle is returned. If any of ppResources are not presently mapped for access by CUDA then cudaErrorUnknown is returned.
- Parameters:
-
| count | - Number of resources to unmap for CUDA |
| ppResources | - Resources to unmap for CUDA |
- Returns:
- cudaSuccess, cudaErrorInvalidResourceHandle, cudaErrorUnknown
- Note:
- Note that this function may also return error codes from previous, asynchronous launches.
- See also:
- cudaD3D10GetDevice, cudaD3D10SetDirect3DDevice, cudaD3D10RegisterResource, cudaD3D10UnregisterResource, cudaD3D10MapResources, cudaD3D10ResourceGetSurfaceDimensions, cudaD3D10ResourceSetMapFlags, cudaD3D10ResourceGetMappedArray, cudaD3D10ResourceGetMappedPointer, cudaD3D10ResourceGetMappedSize, cudaD3D10ResourceGetMappedPitch
|