@@ -33,8 +33,6 @@ module Make(I: Interface):IMPLEMENTATION = struct
3333 module D = Debug. Make (struct let name = Gpumon_interface. service_name end )
3434 open D
3535
36- type context = unit
37-
3836 module Nvidia = struct
3937
4038 let host_driver_supporting_migration = 390
@@ -45,7 +43,7 @@ module Make(I: Interface):IMPLEMENTATION = struct
4543 | Some interface -> interface
4644 | None -> raise Gpumon_interface. (Gpumon_error NvmlInterfaceNotAvailable )
4745
48- let get_pgpu_metadata dbg pgpu_address =
46+ let get_pgpu_metadata _dbg pgpu_address =
4947 let this = " get_pgpu_metadata" in
5048 let interface = get_interface_exn () in
5149 try
@@ -72,7 +70,7 @@ module Make(I: Interface):IMPLEMENTATION = struct
7270 | Gpumon_interface. (Gpumon_error (NvmlFailure _ )) as err -> raise err
7371 | err -> raise Gpumon_interface. (Gpumon_error (NvmlFailure (Printexc. to_string err)))
7472
75- let get_vgpu_metadata dbg domid pgpu_address =
73+ let get_vgpu_metadata _dbg domid pgpu_address =
7674 let interface = get_interface_exn () in
7775 let domid' = string_of_int domid in
7876 try
@@ -82,7 +80,7 @@ module Make(I: Interface):IMPLEMENTATION = struct
8280 with err ->
8381 raise Gpumon_interface. (Gpumon_error (NvmlFailure (Printexc. to_string err)))
8482
85- let get_pgpu_vgpu_compatibility dbg pgpu_metadata vgpu_metadata =
83+ let get_pgpu_vgpu_compatibility _dbg pgpu_metadata vgpu_metadata =
8684 let interface = get_interface_exn () in
8785 let compatibility =
8886 try
0 commit comments