Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/sentry/devices/nvproxy/nvconf/caps.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const (
// enabled when enabling "all" capabilities is requested, which excludes
// "privileged" capabilities that are usually not intended. Similar to
// nvidia-container-toolkit/internal/config/image/capabilities.go:SupportedDriverCapabilities.
AllContainerDriverCaps = CapCompute | CapUtility | CapGraphics | CapVideo
AllContainerDriverCaps = CapCompute | CapUtility | CapGraphics | CapVideo | CapNGX

// DefaultDriverCaps is the set of driver capabilities that are enabled by
// default in the absence of any other configuration. See
Expand Down
2 changes: 1 addition & 1 deletion pkg/sentry/devices/nvproxy/nvconf/caps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestNVIDIAFlagsSkipsPrivilegedCaps(t *testing.T) {
{
name: "all_plus_profiling",
caps: AllContainerDriverCaps | CapProfiling,
want: []string{"--compute", "--graphics", "--utility", "--video"},
want: []string{"--compute", "--graphics", "--ngx", "--utility", "--video"},
},
{
name: "profiling_only",
Expand Down
Loading