def setUpClass(cls): super().setUpClass() driver_names = rt.HalDriver.query() logging.info("driver_names: %s", driver_names) cls.driver = rt.HalDriver.create("vmla") cls.device = cls.driver.create_default_device() cls.hal_module = rt.create_hal_module(cls.device) cls.htf = rt.HostTypeFactory.get_numpy()
def setUpClass(cls): super().setUpClass() driver_names = rt.HalDriver.query() print("DRIVER_NAMES =", driver_names) cls.driver = rt.HalDriver.create("vmla") cls.device = cls.driver.create_default_device() cls.hal_module = rt.create_hal_module(cls.device) cls.htf = rt.HostTypeFactory.get_numpy()