Direct3D 10 Interoperability
[CUDA Driver API]


Functions

CUresult cuD3D10CtxCreate (CUcontext *pCtx, CUdevice *pCuDevice, unsigned int Flags, ID3D10Device *pDxDevice)
 Create a CUDA context for interoperability with Direct3D.
CUresult cuD3D10GetDevice (CUdevice *pDevice, IDXGIAdapter *pAdapter)
 Gets the device number for an adapter.
CUresult cuD3D10MapResources (unsigned int count, ID3D10Resource **ppResources)
 Map Direct3D resources for access by CUDA.
CUresult cuD3D10RegisterResource (ID3D10Resource *pResource, unsigned int Flags)
 Register a Direct3D resource for access by CUDA.
CUresult cuD3D10ResourceGetMappedArray (CUarray *pArray, ID3D10Resource *pResource, unsigned int SubResource)
 Get an array through which to access a subresource of a Direct3D resource which has been mapped for access by CUDA.
CUresult cuD3D10ResourceGetMappedPitch (unsigned int *pPitch, unsigned int *pPitchSlice, ID3D10Resource *pResource, unsigned int SubResource)
 Get the pitch of a subresource of a Direct3D resource which has been mapped for access by CUDA.
CUresult cuD3D10ResourceGetMappedPointer (CUdeviceptr *pDevPtr, ID3D10Resource *pResource, unsigned int SubResource)
 Get a pointer through which to access a subresource of a Direct3D resource which has been mapped for access by CUDA.
CUresult cuD3D10ResourceGetMappedSize (unsigned int *pSize, ID3D10Resource *pResource, unsigned int SubResource)
 Get the size of a subresource of a Direct3D resource which has been mapped for access by CUDA.
CUresult cuD3D10ResourceGetSurfaceDimensions (unsigned int *pWidth, unsigned int *pHeight, unsigned int *pDepth, ID3D10Resource *pResource, unsigned int SubResource)
 Get the dimensions of a registered surface.
CUresult cuD3D10ResourceSetMapFlags (ID3D10Resource *pResource, unsigned int Flags)
 Set usage flags for mapping a Direct3D resource.
CUresult cuD3D10UnmapResources (unsigned int count, ID3D10Resource **ppResources)
 Unmap Direct3D resources.
CUresult cuD3D10UnregisterResource (ID3D10Resource *pResource)
 Unregister a Direct3D resource.

Detailed Description

This section describes the Direct3D 10 interoperability functions of the low-level CUDA driver application programming interface.

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA