File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ type compatibility = Compatible | Incompatible of incompatibility_reason list
2424
2525type pgpu_address = string
2626type nvidia_pgpu_metadata = string
27+ type nvidia_vgpu_metadata = string
2728
2829(* * Exception raised when gpumon is unable to load the nvml nvidia library *)
2930exception NvmlInterfaceNotAvailable
@@ -43,4 +44,11 @@ module Nvidia = struct
4344 * domid = domain ID of the VM in which the vGPU(s) is running.
4445 * pgpu_metadata = metadata of the pGPU to check compatibility for. *)
4546 external get_pgpu_vm_compatibility : debug_info -> pgpu_address -> domid -> nvidia_pgpu_metadata -> compatibility = " "
47+
48+ external get_pgpu_vgpu_compatibility
49+ : debug_info
50+ -> nvidia_pgpu_metadata
51+ -> nvidia_vgpu_metadata list
52+ -> compatibility
53+ = " "
4654end
You can’t perform that action at this time.
0 commit comments