Kevin Putnam
1d149ffee6
Documentation: Fixes broken links and standardizes headers.
...
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2020-09-22 08:32:21 -07:00
Dmitry Rozhkov
7ff08ee874
linter: enable staticcheck
2020-08-25 09:54:59 +03:00
Mikko Ylinen
cd068c797a
ci: update tool versions
...
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-08-21 17:04:04 +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
7c2bc3bda0
vpu_plugin: add kustomizations
...
- Default deployment: `kubectl apply -k deployments/vpu_plugin`
- Default deployment does not specify namespace anymore
(was: `kube-system`)
- Variant: deploy to `kube-system` instead of user-defined namespace
(or `default`)
`kubectl apply -k deployments/vpu_plugin/overlays/namespace_kube-system`
- VPU plugin README updated.
- Change volume mounts to readonly when possible
Signed-off-by: Alek Du <alek.du@intel.com>
2020-02-25 14:53:26 +08:00
Mikko Ylinen
f145541caf
READMEs: use git clone to get the code
...
go get'ing does not work due to our k8s.io/kubernetes dependency
so guide users to use git clone to get the code.
Fixes : #290
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-02-20 08:04:07 +02:00
Ed Bartosh
1f4928790f
Implement function for DeviceInfo creation
...
- Made DeviceInfo fields private
- Implement NewDeviceInfo constructor
2020-02-07 15:26:37 +02:00
Alek Du
6321c424ca
vpu: refactor the vpu plugin readme
...
Just follow the standard format to fix the vpu plugin readme.
Also added the ubuntu OpenVINO demo job long logs.
Signed-off-by: Alek Du <alek.du@intel.com>
2020-02-04 18:15:27 +08: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