Returns in *pCudaDevice the CUDA-compatible device corresponding to the adapter pAdapter obtained from IDXGIFactory::EnumAdapters.
*pCudaDevice
pAdapter
If no device on pAdapter is CUDA-compatible the call will return CUDA_ERROR_NO_DEVICE.