CUresult cuD3D11GetDirect3DDevice ( ID3D11Device **  ppD3DDevice  ) 

Returns in *ppD3DDevice the Direct3D device against which this CUDA context was created in cuD3D11CtxCreate().

Parameters:
ppD3DDevice - Returned Direct3D device corresponding to CUDA context
Returns:
CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_INVALID_CONTEXT
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuD3D11GetDevice


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA