Provided by: nvidia-cuda-dev_7.5.18-0ubuntu1_amd64 bug

NAME

       cudaD3D9.h - Header file for the Direct3D 9 interoperability functions of the low-level
       CUDA driver application programming interface.

SYNOPSIS

   Defines
       #define __CUDA_API_VERSION   3020

   Enumerations
       enum CUd3d9DeviceList { CU_D3D9_DEVICE_LIST_ALL =  0x01, CU_D3D9_DEVICE_LIST_CURRENT_FRAME
           =  0x02, CU_D3D9_DEVICE_LIST_NEXT_FRAME =  0x03 }
       enum CUd3d9map_flags
       enum CUd3d9register_flags

   Functions
       CUresult cuD3D9CtxCreate (CUcontext *pCtx, CUdevice *pCudaDevice, unsigned int Flags,
           IDirect3DDevice9 *pD3DDevice)
           Create a CUDA context for interoperability with Direct3D 9.
       CUresult cuD3D9CtxCreateOnDevice (CUcontext *pCtx, unsigned int flags, IDirect3DDevice9
           *pD3DDevice, CUdevice cudaDevice)
           Create a CUDA context for interoperability with Direct3D 9.
       CUresult cuD3D9GetDevice (CUdevice *pCudaDevice, const char *pszAdapterName)
           Gets the CUDA device corresponding to a display adapter.
       CUresult cuD3D9GetDevices (unsigned int *pCudaDeviceCount, CUdevice *pCudaDevices,
           unsigned int cudaDeviceCount, IDirect3DDevice9 *pD3D9Device, CUd3d9DeviceList
           deviceList)
           Gets the CUDA devices corresponding to a Direct3D 9 device.
       CUresult cuD3D9GetDirect3DDevice (IDirect3DDevice9 **ppD3DDevice)
           Get the Direct3D 9 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 (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.
       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 (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.
       CUresult cuD3D9ResourceGetSurfaceDimensions (size_t *pWidth, size_t *pHeight, size_t
           *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.
       CUresult cuGraphicsD3D9RegisterResource (CUgraphicsResource *pCudaResource,
           IDirect3DResource9 *pD3DResource, unsigned int Flags)
           Register a Direct3D 9 resource for access by CUDA.

Detailed Description

Define Documentation

   #define __CUDA_API_VERSION   3020
       CUDA API versioning support

Author

       Generated automatically by Doxygen from the source code.