CUresult cuD3D10GetDirect3DDevice ( ID3D10Device **  ppD3DDevice  ) 

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

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:
cuD3D10GetDevice


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA