The device_context encapsulates the interface for querying the number of devices with whether the currently specified backend is available.