Skip to content

Commit 2d6b717

Browse files
committed
unittest: Add the actual VGPU config files to the test VGPU types
Signed-off-by: John Else <[email protected]>
1 parent e65af4f commit 2d6b717

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ocaml/test/test_vgpu_common.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ let k100 = {
2222
max_resolution_x = 1920L;
2323
max_resolution_y = 1200L;
2424
size = Int64.div Constants.pgpu_default_size 8L;
25-
internal_config = [];
25+
internal_config = ["vgpu_config", "/usr/share/nvidia/vgx/grid_k100.conf"];
2626
identifier = Identifier.(Nvidia {
2727
pdev_id = 0x0ff2;
2828
psubdev_id = None;
@@ -40,7 +40,7 @@ let k140q = {
4040
max_resolution_x = 2560L;
4141
max_resolution_y = 1600L;
4242
size = Int64.div Constants.pgpu_default_size 4L;
43-
internal_config = [];
43+
internal_config = ["vgpu_config", "/usr/share/nvidia/vgx/grid_k140q.conf"];
4444
identifier = Identifier.(Nvidia {
4545
pdev_id = 0x0ff2;
4646
psubdev_id = None;
@@ -58,7 +58,7 @@ let k200 = {
5858
max_resolution_x = 1920L;
5959
max_resolution_y = 1200L;
6060
size = Int64.div Constants.pgpu_default_size 8L;
61-
internal_config = [];
61+
internal_config = ["vgpu_config", "/usr/share/nvidia/vgx/grid_k200.conf"];
6262
identifier = Identifier.(Nvidia {
6363
pdev_id = 0x11bf;
6464
psubdev_id = None;
@@ -76,7 +76,7 @@ let k240q = {
7676
max_resolution_x = 2560L;
7777
max_resolution_y = 1600L;
7878
size = Int64.div Constants.pgpu_default_size 4L;
79-
internal_config = [];
79+
internal_config = ["vgpu_config", "/usr/share/nvidia/vgx/grid_k240q.conf"];
8080
identifier = Identifier.(Nvidia {
8181
pdev_id = 0x11bf;
8282
psubdev_id = None;
@@ -94,7 +94,7 @@ let k260q = {
9494
max_resolution_x = 2560L;
9595
max_resolution_y = 1600L;
9696
size = Int64.div Constants.pgpu_default_size 2L;
97-
internal_config = [];
97+
internal_config = ["vgpu_config", "/usr/share/nvidia/vgx/grid_k260q.conf"];
9898
identifier = Identifier.(Nvidia {
9999
pdev_id = 0x11bf;
100100
psubdev_id = None;

0 commit comments

Comments
 (0)