Skip to content

Commit f22af50

Browse files
authored
Merge pull request #28 from AShivangi/preemption
Preemption overhead testcase
2 parents 66cd853 + 38a0fe0 commit f22af50

14 files changed

Lines changed: 135 additions & 262 deletions
File renamed without changes.
File renamed without changes.

elf/preemption_memtile_4x4.elf renamed to archive/strx/preemption_overhead/preemption_memtile_4x4.elf

File renamed without changes.

elf/preemption_memtile_4x8.elf renamed to archive/strx/preemption_overhead/preemption_memtile_4x8.elf

File renamed without changes.

elf/preemption_noop_4x4.elf renamed to archive/strx/preemption_overhead/preemption_noop_4x4.elf

File renamed without changes.

elf/preemption_noop_4x8.elf renamed to archive/strx/preemption_overhead/preemption_noop_4x8.elf

File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"version": "1.0",
3+
"execution" : {
4+
"iterations": 100,
5+
"verbose": false
6+
}
7+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"version": "1.0",
3+
"header": {
4+
"xclbin": "preemption_4x4.xclbin"
5+
},
6+
"resources": {
7+
"buffers": [
8+
],
9+
"kernels": [
10+
{ "name": "k1", "instance": "DPU", "ctrlcode": "preemption_memtile_4x4.elf"}
11+
]
12+
},
13+
"execution": {
14+
"runs": [
15+
{
16+
"name": "k1",
17+
"arguments": [
18+
],
19+
"constants": [
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 }
28+
]
29+
}
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"version": "1.0",
3+
"header": {
4+
"xclbin": "preemption_4x8.xclbin"
5+
},
6+
"resources": {
7+
"buffers": [
8+
],
9+
"kernels": [
10+
{ "name": "k1", "instance": "DPU", "ctrlcode": "preemption_memtile_4x8.elf"}
11+
]
12+
},
13+
"execution": {
14+
"runs": [
15+
{
16+
"name": "k1",
17+
"arguments": [
18+
],
19+
"constants": [
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 }
28+
]
29+
}
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"version": "1.0",
3+
"header": {
4+
"xclbin": "preemption_4x4.xclbin"
5+
},
6+
"resources": {
7+
"buffers": [
8+
],
9+
"kernels": [
10+
{ "name": "k1", "instance": "DPU", "ctrlcode": "preemption_noop_4x4.elf"}
11+
]
12+
},
13+
"execution": {
14+
"runs": [
15+
{
16+
"name": "k1",
17+
"arguments": [
18+
],
19+
"constants": [
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 }
28+
]
29+
}
30+
]
31+
}
32+
}

0 commit comments

Comments
 (0)