cyborg/cyborg/tests/unit/accelerator/drivers/gpu
wangzh21 5c4e648159 Add gpu driver
1. Imply gpu driver of passthrough mode.
2. Pre-configure for GPU passthrough(We should move this guide to admin
guide doc later):
a) Edit /etc/default/grub
   Modify GRUB_CMDLINE_LINUX=’… quiet’ to GRUB_CMDLINE_LINUX=’… quiet
   intel_iommu=on’
b) grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
c) Reboot compute node.
d) Check it is successful or not.
   dmesg | grep -e DMAR -e IOMMU
   You would see something echoed.
References:
https://pve.proxmox.com/wiki/Pci_passthrough

3.Remove unused import.
4.Fix spelling mistakes.
5.Fix _match_nova_addr, becase addr in os-acc is like 0000:00:06.0

Story: 2002954
Change-Id: I555b656f80b32eafdc24f9ba81ddc9af416d95e9
2019-03-21 18:01:29 +08:00
..
nvidia Add gpu driver 2019-03-21 18:01:29 +08:00
__init__.py Add gpu driver 2019-03-21 18:01:29 +08:00
test_base.py Add gpu driver 2019-03-21 18:01:29 +08:00
test_utils.py Add gpu driver 2019-03-21 18:01:29 +08:00