get_some_context returns gpu devices first, then cpu devices if no gpu's available