Skip to content

Commit ba21d0e

Browse files
committed
Add update-nvidia-params hook to CDI spec
Signed-off-by: Evan Lezar <[email protected]>
1 parent 791cd7f commit ba21d0e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/nvcdi/driver-nvml.go

+4
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ func NewDriverLibraryDiscoverer(logger logger.Interface, driver *root.Driver, nv
106106
nvidiaCDIHookPath,
107107
),
108108
updateLDCache,
109+
discover.CreateNvidiaCDIHook(
110+
nvidiaCDIHookPath,
111+
"update-nvidia-params",
112+
),
109113
)
110114

111115
return d, nil

0 commit comments

Comments
 (0)