Direct3D 11 Interoperability
[CUDA Driver API]


Typedefs

typedef enum CUd3d11DeviceList_enum CUd3d11DeviceList

Enumerations

enum  CUd3d11DeviceList_enum {
  CU_D3D11_DEVICE_LIST_ALL = 0x01,
  CU_D3D11_DEVICE_LIST_CURRENT_FRAME = 0x02,
  CU_D3D11_DEVICE_LIST_NEXT_FRAME = 0x03
}

Functions

CUresult cuD3D11CtxCreate (CUcontext *pCtx, CUdevice *pCudaDevice, unsigned int Flags, ID3D11Device *pD3DDevice)
 Create a CUDA context for interoperability with Direct3D 11.
CUresult cuD3D11CtxCreateOnDevice (CUcontext *pCtx, unsigned int flags, ID3D11Device *pD3DDevice, CUdevice cudaDevice)
 Create a CUDA context for interoperability with Direct3D 11.
CUresult cuD3D11GetDevice (CUdevice *pCudaDevice, IDXGIAdapter *pAdapter)
 Gets the CUDA device corresponding to a display adapter.
CUresult cuD3D11GetDevices (unsigned int *pCudaDeviceCount, CUdevice *pCudaDevices, unsigned int cudaDeviceCount, ID3D11Device *pD3D11Device, CUd3d11DeviceList deviceList)
 Gets the CUDA devices corresponding to a Direct3D 11 device.
CUresult cuD3D11GetDirect3DDevice (ID3D11Device **ppD3DDevice)
 Get the Direct3D 11 device against which the current CUDA context was created.
CUresult cuGraphicsD3D11RegisterResource (CUgraphicsResource *pCudaResource, ID3D11Resource *pD3DResource, unsigned int Flags)
 Register a Direct3D 11 resource for access by CUDA.

Detailed Description

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

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA