Esempio n. 1
0
 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()
Esempio n. 2
0
 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()