Mikko Ylinen
0892a34705
move to k8s.io v1.20.x and klog/v2 v2.4.0
...
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-01-21 15:34:39 +02:00
Dmitry Rozhkov
7ff08ee874
linter: enable staticcheck
2020-08-25 09:54:59 +03:00
Dmitry Rozhkov
70f862f2aa
add golangci linter
...
In this initial commit the following checks are disabled due to
excessive amount of changes required:
- dupl (duplicate code)
- funlen (function length)
- goerr113 (errors handling expressions)
- gomnd (magic numbers)
- gosec (security)
- nakedret (naked returns)
- wsl (forces to use empty lines)
- errcheck (checking for unchecked errors)
- staticcheck (static analysis)
2020-06-08 14:01:13 +03:00
Alek Du
cfbb69ddd6
vpu: improve test coverage
...
Changed code a little bit to improve test coverage:
* call Scan in test code
* call Scan without hddl socket
* call Scan with 0 SharedDevNum
* move SharedDevNum in newDevicePlugin
* use Ticker instead of Sleep
Signed-off-by: Alek Du <alek.du@intel.com>
2020-03-31 14:12:59 +08:00
Graham Whaley
82713d0cf9
vpu: move to using klog
...
Move to using klog for logging and debug for vpu plugin.
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2020-03-20 11:38:20 +00:00
Alek Du
887e56e780
VPU: Add Intel Movidius MyriadX VPU plugin support
...
This patch is to support Intel VCAC-A card (with MyriadX 2485 VPUs), for other
later on VPUs, we will reuse this plugin and add support.
VCAC-A board info is at:
https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/media-analytics-vcac-a-accelerator-card-by-celestica-datasheet.pdf
Also add openvino HDDL VPU demo for Intel VCAC-A card.
Signed-off-by: Alek Du <alek.du@intel.com>
2020-01-28 23:17:50 +08:00