|
cudaError_t cudaVDPAUGetDevice |
( |
int * |
device, |
|
|
VdpDevice |
vdpDevice, |
|
|
VdpGetProcAddress * |
vdpGetProcAddress | |
|
) |
| | |
Returns the CUDA device associated with a VdpDevice, if applicable.
- Parameters:
-
| device | - Returns the device associated with vdpDevice, or -1 if the device associated with vdpDevice is not a compute device. |
| vdpDevice | - A VdpDevice handle |
| vdpGetProcAddress | - VDPAU's VdpGetProcAddress function pointer |
- Returns:
- cudaSuccess
- Note:
- Note that this function may also return error codes from previous, asynchronous launches.
- See also:
- cudaVDPAUSetVDPAUDevice
|