cuda.bindings._v2.driver.vdpau_get_device#

cuda.bindings._v2.driver.vdpau_get_device(
VdpDevice vdp_device,
intptr_t vdp_get_proc_address,
) → int#

Gets the CUDA device associated with a VDPAU device.

Returns in *p_device the CUDA device associated with a vdp_device, if applicable.

Parameters:
  • vdp_device (VdpDevice) – A Vdp_device handle.

  • vdp_get_proc_address (intptr_t) – VDPAU’s VdpGetProcAddress function pointer.

Returns:

Device associated with vdp_device.

Return type:

int

See also

cuVDPAUGetDevice