Tariq
167d4d5546
Merge pull request #42 from NVIDIA/upd-pci-db-list
...
[2024-06-23] update the pci db file
2024-06-24 18:21:14 -07:00
Tariq Ibrahim
0e1c516da0
[2024-06-23] update the pci db file
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
2024-06-24 17:51:19 -07:00
Evan Lezar
a408243ef1
Merge pull request #41 from elezar/add-get-pci-busid
...
Add function to get the PCI bus ID for a device
2024-06-17 14:58:43 +02:00
Evan Lezar
9ff9246fbd
Merge pull request #37 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvml-0.12.4-0
...
Bump github.com/NVIDIA/go-nvml from 0.12.0-6 to 0.12.4-0
2024-06-17 14:58:28 +02:00
Evan Lezar
d60aa34a78
Add function to get the PCI bus ID for a device
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-06-17 14:56:19 +02:00
Kevin Klues
20ba32166d
Merge pull request #38 from PiotrProkop/add-vfs-info
...
feat: add additional SRIOV info to NvidiaPciDevice
2024-06-07 14:23:53 +02:00
PiotrProkop
bf3f431fc8
feat: add additinal SRIOV info to NvidiaPciDevice
...
Signed-off-by: PiotrProkop <pprokop@nvidia.com>
2024-06-07 14:12:33 +02:00
Evan Lezar
466340618f
Merge pull request #39 from elezar/make-nvmllib-requried
...
Make nvmllib a requried argument to devicelib
2024-05-27 18:12:10 +02:00
Evan Lezar
67ba04ed26
Make nvmllib a requried argument to devicelib
...
In oder to ensure consistent usage, we add an explicit
argument for an nvml.Interface implementation to the
device.New constructor.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-05-27 17:16:14 +02:00
dependabot[bot]
489a2585e4
Bump github.com/NVIDIA/go-nvml from 0.12.0-6 to 0.12.4-0
...
Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml ) from 0.12.0-6 to 0.12.4-0.
- [Commits](https://github.com/NVIDIA/go-nvml/compare/v0.12.0-6...v0.12.4-0 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-26 08:10:12 +00:00
Evan Lezar
7604335102
Merge pull request #28 from NVIDIA/fix-igpu-nvml-auto
...
Add platform detection logic from nvidia-container-toolkit
2024-05-21 11:42:32 +02:00
Evan Lezar
7589aea157
Merge pull request #36 from elezar/bump-go-nvml
...
Update github.com/NVIDIA/go-nvml to v0.12.0-6
2024-05-14 14:11:14 +02:00
Evan Lezar
9cd3780282
Update github.com/NVIDIA/go-nvml to v0.12.0-6
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-05-14 14:09:44 +02:00
Evan Lezar
fbdd0e5239
Merge pull request #35 from NVIDIA/dependabot/github_actions/golangci/golangci-lint-action-6
...
Bump golangci/golangci-lint-action from 5 to 6
2024-05-07 14:06:24 +02:00
dependabot[bot]
59b43f18a8
Bump golangci/golangci-lint-action from 5 to 6
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 08:18:00 +00:00
Evan Lezar
fdd3ecf9b9
Merge pull request #34 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvml-0.12.0-5
...
Bump github.com/NVIDIA/go-nvml from 0.12.0-4 to 0.12.0-5
2024-05-02 14:14:32 +02:00
Evan Lezar
21c8f035ca
Add ResolvePlatform function to info package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-05-02 14:09:59 +02:00
Evan Lezar
d1e08f17ea
Add UsesOnlyNVGPUModule check to PropertyExtractor interface
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-05-02 14:09:38 +02:00
Evan Lezar
791d093c62
Refactor info API
...
This change adds a PropertyExtractor interface to encapsulate functions
that query a system for certain capabilities.
The IsTegraSystem has been renamed to HasTegraFiles function and marked
as Deprecated.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-05-02 14:08:04 +02:00
Evan Lezar
2560bf6332
Fix check targets
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-05-02 14:07:14 +02:00
dependabot[bot]
a1a6535035
Bump github.com/NVIDIA/go-nvml from 0.12.0-4 to 0.12.0-5
...
Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml ) from 0.12.0-4 to 0.12.0-5.
- [Commits](https://github.com/NVIDIA/go-nvml/compare/v0.12.0-4...v0.12.0-5 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-28 08:38:47 +00:00
Carlos Eduardo Arango Gutierrez
04f701cf56
Merge pull request #33 from NVIDIA/dependabot/github_actions/golangci/golangci-lint-action-5
...
Bump golangci/golangci-lint-action from 4 to 5
2024-04-25 12:30:36 +02:00
dependabot[bot]
24cf75b2bd
Bump golangci/golangci-lint-action from 4 to 5
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 08:09:50 +00:00
Kevin Klues
094481f79a
Merge pull request #32 from klueska/update-go-nvml
...
Update to incorporate go-nvml updates to expose interface types
2024-04-13 08:15:44 +01:00
Kevin Klues
153699bb93
Update to incorporate go-nvml updates to expose interface types
...
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2024-04-12 21:19:30 +00:00
Carlos Eduardo Arango Gutierrez
3c1b6c29ec
Merge pull request #29 from ArangoGutierrez/ghactions
...
Update GItHub actions
2024-04-04 16:17:44 +02:00
Carlos Eduardo Arango Gutierrez
48789b76df
Address golangci-lint warnings
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-04-04 15:24:10 +02:00
Carlos Eduardo Arango Gutierrez
ab773cb50a
Add GitHub actions
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-04-04 13:08:50 +02:00
Evan Lezar
35b90cfcaa
Merge pull request #27 from NVIDIA/bump-go-nvml
...
Update github.com/NVIDIA/go-nvml to v0.12.0-3
2024-03-15 15:06:25 +02:00
Evan Lezar
591d38df50
Update github.com/NVIDIA/go-nvml to v0.12.0-3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-03-15 15:04:07 +02:00
Evan Lezar
3d0b556ad0
Merge pull request #26 from NVIDIA/add-compute-mode-constants
...
Add ComputeMode constants
2024-03-12 22:06:29 +02:00
Evan Lezar
fb0dc9d525
Add ComputeMode constants
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-03-12 17:23:12 +02:00
Evan Lezar
6ac4869fbb
Merge pull request #25 from NVIDIA/add-set-compute-mode
...
Add SetComputeMode method to Device
2024-03-11 19:57:10 +02:00
Evan Lezar
22de91ff86
Merge pull request #24 from NVIDIA/dependabot/go_modules/main/github.com/stretchr/testify-1.9.0
...
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
2024-03-11 16:31:07 +02:00
Evan Lezar
2feaa48250
Add SetComputeMode method to Device
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-03-11 16:25:04 +02:00
dependabot[bot]
ae0c0578f6
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-03 08:18:58 +00:00
Evan Lezar
35fb5131fc
Merge pull request #22 from NVIDIA/dependabot/go_modules/main/github.com/google/uuid-1.6.0
...
Bump github.com/google/uuid from 1.5.0 to 1.6.0
2024-02-06 10:18:28 +01:00
dependabot[bot]
8f4bb0b2fe
Bump github.com/google/uuid from 1.5.0 to 1.6.0
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-28 08:21:46 +00:00
Evan Lezar
27a06910cf
Merge pull request #20 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvml-0.12.0-2
...
Bump github.com/NVIDIA/go-nvml from 0.12.0-1.0.20231020145430-e06766c5e74f to 0.12.0-2
2024-01-27 10:15:03 +01:00
dependabot[bot]
d3874bda61
Bump github.com/NVIDIA/go-nvml
...
Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml ) from 0.12.0-1.0.20231020145430-e06766c5e74f to 0.12.0-2.
- [Commits](https://github.com/NVIDIA/go-nvml/commits/v0.12.0-2 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 13:07:41 +00:00
Evan Lezar
2e452cae6a
Merge pull request #21 from NVIDIA/dependabot/go_modules/main/github.com/google/uuid-1.5.0
...
Bump github.com/google/uuid from 1.4.0 to 1.5.0
2024-01-23 14:06:52 +01:00
Evan Lezar
867d7fd9cf
Merge pull request #19 from NVIDIA/dependabot/github_actions/actions/checkout-4
...
Bump actions/checkout from 3 to 4
2024-01-23 14:06:02 +01:00
dependabot[bot]
1f018b16ac
Bump github.com/google/uuid from 1.4.0 to 1.5.0
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 13:04:18 +00:00
dependabot[bot]
320a780c63
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 13:04:09 +00:00
Evan Lezar
bc6f5b3031
Merge pull request #18 from NVIDIA/add-dependabot
...
Add dependabot config
2024-01-23 14:03:44 +01:00
Evan Lezar
2d0bf20f51
Add dependabot config
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-01-23 14:03:08 +01:00
Evan Lezar
1160356081
Merge pull request #17 from NVIDIA/add-handle-function
...
Add nvmlDeviceHandle function to Device interface
2024-01-09 14:07:12 +01:00
Evan Lezar
06cbc571ef
Add nvmlDeviceHandle function to Device interface
...
This change allows the underlying device handle to be returned
without relying on type-casting.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-01-09 14:05:01 +01:00
Christopher Desiniotis
f3264c8a6a
Merge pull request #14 from NVIDIA/CNT-4778/identifier-parsing
...
Add an Identifier type to nvlib/device for parsing GPU identifiers
2023-12-12 11:45:27 -08:00
Christopher Desiniotis
177e4eef6f
Add an Identifier type to nvlib/device which implements common parsing of GPU indices and UUIDs
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
2023-12-06 16:42:51 -08:00