cuda.bindings._v2.driver.ctx_get_device# cuda.bindings._v2.driver.ctx_get_device() → int# Returns the device handle for the current context. Returns in *device the handle of the current context’s device. Returns: Returned device handle for the current context. Return type: int See also cuCtxGetDevice