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 then the call will fail.