ctxGetDevice

external fun ctxGetDevice(): Int

Returns the device ID for the current context. (cuCtxGetDevice)