Direct3D 11 Interoperability
[CUDA Runtime API]


Enumerations

enum  cudaD3D11DeviceList {
  cudaD3D11DeviceListAll = 1,
  cudaD3D11DeviceListCurrentFrame = 2,
  cudaD3D11DeviceListNextFrame = 3
}

Functions

cudaError_t cudaD3D11GetDevice (int *device, IDXGIAdapter *pAdapter)
 Gets the device number for an adapter.
cudaError_t cudaD3D11GetDevices (unsigned int *pCudaDeviceCount, int *pCudaDevices, unsigned int cudaDeviceCount, ID3D11Device *pD3D11Device, enum cudaD3D11DeviceList deviceList)
 Gets the CUDA devices corresponding to a Direct3D 11 device.
cudaError_t cudaD3D11GetDirect3DDevice (ID3D11Device **ppD3D11Device)
 Gets the Direct3D device against which the current CUDA context was created.
cudaError_t cudaD3D11SetDirect3DDevice (ID3D11Device *pD3D11Device, int device=-1)
 Sets the Direct3D 11 device to use for interoperability with a CUDA device.
cudaError_t cudaGraphicsD3D11RegisterResource (struct cudaGraphicsResource **resource, 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 CUDA runtime application programming interface.

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA