Direct3D 9 Interoperability with CUDA Runtime | |
| Direct3D 9 Interoperability with CUDA Runtime
| |
| enum | cudaD3D9MapFlags { cudaD3D9MapFlagsNone, cudaD3D9MapFlagsReadOnly, cudaD3D9MapFlagsWriteDiscard } |
| enum | cudaD3D9RegisterFlags { cudaD3D9RegisterFlagsNone, cudaD3D9RegisterFlagsArray } |
| cudaError_t | cudaD3D9GetDevice (int *device, const char *pszAdapterName) |
| Gets the device number for an adapter. | |
| cudaError_t | cudaD3D9GetDirect3DDevice (IDirect3DDevice9 **ppDxDevice) |
| Gets the Direct3D device against which the current CUDA context was created. | |
| cudaError_t | cudaD3D9MapResources (int count, IDirect3DResource9 **ppResources) |
| Map Direct3D resources for access by CUDA. | |
| cudaError_t | cudaD3D9RegisterResource (IDirect3DResource9 *pResource, unsigned int flags) |
| Registers a Direct3D resource for access by CUDA. | |
| cudaError_t | cudaD3D9ResourceGetMappedArray (cudaArray **ppArray, 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. | |
| cudaError_t | cudaD3D9ResourceGetMappedPitch (size_t *pPitch, size_t *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. | |
| cudaError_t | cudaD3D9ResourceGetMappedPointer (void **pPointer, IDirect3DResource9 *pResource, unsigned int face, unsigned int level) |
| Get a pointer through which to access a subresource of a Direct3D resource which has been mapped for access by CUDA. | |
| cudaError_t | cudaD3D9ResourceGetMappedSize (size_t *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. | |
| cudaError_t | cudaD3D9ResourceGetSurfaceDimensions (size_t *pWidth, size_t *pHeight, size_t *pDepth, IDirect3DResource9 *pResource, unsigned int face, unsigned int level) |
| Get the dimensions of a registered Direct3D surface. | |
| cudaError_t | cudaD3D9ResourceSetMapFlags (IDirect3DResource9 *pResource, unsigned int flags) |
| Set usage flags for mapping a Direct3D resource. | |
| cudaError_t | cudaD3D9SetDirect3DDevice (IDirect3DDevice9 *pDxDevice) |
| Sets the Direct3D device to use for interoperability in this thread. | |
| cudaError_t | cudaD3D9UnmapResources (int count, IDirect3DResource9 **ppResources) |
| Unmap Direct3D resources for access by CUDA. | |
| cudaError_t | cudaD3D9UnregisterResource (IDirect3DResource9 *pResource) |
| Unregisters a Direct3D resource for access by CUDA. | |