//
pkg.gl
Category
github.com/NVIDIA/nvidia-container-toolkit
internal
nvcaps
package
1.17.5
Repository:
https://github.com/nvidia/nvidia-container-toolkit.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
2
Files
122 SLOC
#
Functions
NewComputeInstanceCap
NewComputeInstanceCap creates a MigCap for the specified MIG Compute instance.
NewGPUInstanceCap
NewGPUInstanceCap creates a MigCap for the specified MIG GPU instance.
NewMigCaps
NewMigCaps creates a MigCaps structure based on the contents of the MIG minors file.
#
Type aliases
MigCap
MigCap represents the path to a MIG cap file.
MigCaps
MigCaps stores a map of MIG cap file paths to MIG minors.
MigMinor
MigMinor represents the minor number of a MIG device.