|
Functions |
CUresult | cuD3D9CtxCreate (CUcontext *pCtx, CUdevice *pCuDevice, unsigned int Flags, IDirect3DDevice9 *pDxDevice) |
| Create a CUDA context for interoperability with Direct3D.
|
CUresult | cuD3D9GetDevice (CUdevice *pDevice, const char *pszAdapterName) |
| Gets the device number for an adapter.
|
CUresult | cuD3D9GetDirect3DDevice (IDirect3DDevice9 **ppDxDevice) |
| Get the Direct3D device against which the current CUDA context was created.
|
CUresult | cuD3D9MapResources (unsigned int count, IDirect3DResource9 **ppResource) |
| Map Direct3D resources for access by CUDA.
|
CUresult | cuD3D9RegisterResource (IDirect3DResource9 *pResource, unsigned int Flags) |
| Register a Direct3D resource for access by CUDA.
|
CUresult | cuD3D9ResourceGetMappedArray (CUarray *pArray, IDirect3DResource9 *pResource, unsigned int Face, unsigned int Level) |
| Get an array through which to access a subresource of a Direct3D resource which has been mapped for access by CUDA.
|
CUresult | cuD3D9ResourceGetMappedPitch (unsigned int *pPitch, unsigned int *pPitchSlice, IDirect3DResource9 *pResource, unsigned int Face, unsigned int Level) |
| Get the pitch of a subresource of a Direct3D resource which has been mapped for access by CUDA.
|
CUresult | cuD3D9ResourceGetMappedPointer (CUdeviceptr *pDevPtr, IDirect3DResource9 *pResource, unsigned int Face, unsigned int Level) |
| Get the pointer through which to access a subresource of a Direct3D resource which has been mapped for access by CUDA.
|
CUresult | cuD3D9ResourceGetMappedSize (unsigned int *pSize, IDirect3DResource9 *pResource, unsigned int Face, unsigned int Level) |
| Get the size of a subresource of a Direct3D resource which has been mapped for access by CUDA.
|
CUresult | cuD3D9ResourceGetSurfaceDimensions (unsigned int *pWidth, unsigned int *pHeight, unsigned int *pDepth, IDirect3DResource9 *pResource, unsigned int Face, unsigned int Level) |
| Get the dimensions of a registered surface.
|
CUresult | cuD3D9ResourceSetMapFlags (IDirect3DResource9 *pResource, unsigned int Flags) |
| Set usage flags for mapping a Direct3D resource.
|
CUresult | cuD3D9UnmapResources (unsigned int count, IDirect3DResource9 **ppResource) |
| Unmaps Direct3D resources.
|
CUresult | cuD3D9UnregisterResource (IDirect3DResource9 *pResource) |
| Unregister a Direct3D resource.
|
This section describes the Direct3D 9 interoperability functions of the low-level CUDA driver application programming interface.