Skip to content

Commit 7d057af

Browse files
committed
add preemption benchmark files
Signed-off-by: AShivangi <shivangiagarwal53@gmail.com>
1 parent 014416b commit 7d057af

5 files changed

Lines changed: 30 additions & 37 deletions

File tree

archive/strx/preemption_overhead/recipe_preemption_memtile_4x4.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
"xclbin": "preemption_4x4.xclbin"
55
},
66
"resources": {
7-
"buffers": [
8-
{ "name": "arg0", "type": "input", "size": 20 },
9-
{ "name": "arg1", "type": "input", "size": 20 },
10-
{ "name": "arg2", "type": "input", "size": 20 },
11-
{ "name": "arg3", "type": "input", "size": 20 }
7+
"buffers": [
128
],
139
"kernels": [
1410
{ "name": "k1", "instance": "DPU", "ctrlcode": "preemption_memtile_4x4.elf"}
@@ -18,14 +14,17 @@
1814
"runs": [
1915
{
2016
"name": "k1",
21-
"arguments" : [
22-
{ "name": "arg0", "argidx": 3 },
23-
{ "name": "arg1", "argidx": 4 },
24-
{ "name": "arg2", "argidx": 5 },
25-
{ "name": "arg3", "argidx": 6 }
17+
"arguments": [
2618
],
2719
"constants": [
28-
{ "value": 3, "type": "int", "argidx": 0 }
20+
{ "value": 3, "type": "int", "argidx": 0 },
21+
{ "value": 0, "type": "int", "argidx": 1 },
22+
{ "value": 0, "type": "int", "argidx": 2 },
23+
{ "value": 0, "type": "int", "argidx": 3 },
24+
{ "value": 0, "type": "int", "argidx": 4 },
25+
{ "value": 0, "type": "int", "argidx": 5 },
26+
{ "value": 0, "type": "int", "argidx": 6 },
27+
{ "value": 0, "type": "int", "argidx": 7 }
2928
]
3029
}
3130
]

archive/strx/preemption_overhead/recipe_preemption_memtile_4x8.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
"xclbin": "preemption_4x8.xclbin"
55
},
66
"resources": {
7-
"buffers": [
8-
{ "name": "arg0", "type": "input", "size": 20 },
9-
{ "name": "arg1", "type": "input", "size": 20 },
10-
{ "name": "arg2", "type": "input", "size": 20 },
11-
{ "name": "arg3", "type": "input", "size": 20 }
7+
"buffers": [
128
],
139
"kernels": [
1410
{ "name": "k1", "instance": "DPU", "ctrlcode": "preemption_memtile_4x8.elf"}
@@ -18,14 +14,17 @@
1814
"runs": [
1915
{
2016
"name": "k1",
21-
"arguments" : [
22-
{ "name": "arg0", "argidx": 3 },
23-
{ "name": "arg1", "argidx": 4 },
24-
{ "name": "arg2", "argidx": 5 },
25-
{ "name": "arg3", "argidx": 6 }
17+
"arguments": [
2618
],
2719
"constants": [
28-
{ "value": 3, "type": "int", "argidx": 0 }
20+
{ "value": 3, "type": "int", "argidx": 0 },
21+
{ "value": 0, "type": "int", "argidx": 1 },
22+
{ "value": 0, "type": "int", "argidx": 2 },
23+
{ "value": 0, "type": "int", "argidx": 3 },
24+
{ "value": 0, "type": "int", "argidx": 4 },
25+
{ "value": 0, "type": "int", "argidx": 5 },
26+
{ "value": 0, "type": "int", "argidx": 6 },
27+
{ "value": 0, "type": "int", "argidx": 7 }
2928
]
3029
}
3130
]

archive/strx/preemption_overhead/recipe_preemption_noop_4x4.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
"xclbin": "preemption_4x4.xclbin"
55
},
66
"resources": {
7-
"buffers": [
8-
{ "name": "bo_ifm", "type": "input", "size": 1024 },
9-
{ "name": "bo_ofm", "type": "output", "size": 1024 },
10-
{ "name": "bo_wts1", "type": "input", "size": 1024 },
11-
{ "name": "bo_wts2", "type": "input", "size": 1024 }
7+
"buffers": [
128
],
139
"kernels": [
1410
{ "name": "k1", "instance": "DPU", "ctrlcode": "preemption_noop_4x4.elf"}

archive/strx/preemption_overhead/recipe_preemption_noop_4x8.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
},
66
"resources": {
77
"buffers": [
8-
{ "name": "arg0", "type": "input", "size": 20 },
9-
{ "name": "arg1", "type": "input", "size": 20 },
10-
{ "name": "arg2", "type": "input", "size": 20 },
11-
{ "name": "arg3", "type": "input", "size": 20 }
128
],
139
"kernels": [
1410
{ "name": "k1", "instance": "DPU", "ctrlcode": "preemption_noop_4x8.elf"}
@@ -18,14 +14,17 @@
1814
"runs": [
1915
{
2016
"name": "k1",
21-
"arguments" : [
22-
{ "name": "arg0", "argidx": 3 },
23-
{ "name": "arg1", "argidx": 4 },
24-
{ "name": "arg2", "argidx": 5 },
25-
{ "name": "arg3", "argidx": 6 }
17+
"arguments": [
2618
],
2719
"constants": [
28-
{ "value": 3, "type": "int", "argidx": 0 }
20+
{ "value": 3, "type": "int", "argidx": 0 },
21+
{ "value": 0, "type": "int", "argidx": 1 },
22+
{ "value": 0, "type": "int", "argidx": 2 },
23+
{ "value": 0, "type": "int", "argidx": 3 },
24+
{ "value": 0, "type": "int", "argidx": 4 },
25+
{ "value": 0, "type": "int", "argidx": 5 },
26+
{ "value": 0, "type": "int", "argidx": 6 },
27+
{ "value": 0, "type": "int", "argidx": 7 }
2928
]
3029
}
3130
]

archive/strx/xrt_smi_strx.a

-312 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)