|
CUresult cuD3D10UnmapResources |
( |
unsigned int |
count, |
|
|
ID3D10Resource ** |
ppResources | |
|
) |
| | |
- Deprecated:
- This function is deprecated as of Cuda 3.0.
Unmaps the count Direct3D resources in ppResources .
This function provides the synchronization guarantee that any CUDA kernels issued before cuD3D10UnmapResources() will complete before any Direct3D calls issued after cuD3D10UnmapResources() begin.
If any of ppResources have not been registered for use with CUDA or if ppResources contains any duplicate entries, then CUDA_ERROR_INVALID_HANDLE is returned. If any of ppResources are not presently mapped for access by CUDA, then CUDA_ERROR_NOT_MAPPED is returned.
- Parameters:
-
| count | - Number of resources to unmap for CUDA |
| ppResources | - Resources to unmap for CUDA |
- Returns:
- CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE, CUDA_ERROR_INVALID_HANDLE, CUDA_ERROR_NOT_MAPPED, CUDA_ERROR_UNKNOWN
- Note:
- Note that this function may also return error codes from previous, asynchronous launches.
- See also:
- cuGraphicsUnmapResources
|