Skip to content

Commit 9382227

Browse files
committed
Add ve2 Archive
Signed-off-by: Manoj Takasi <mtakasi@amd.com>
1 parent 66fef79 commit 9382227

6 files changed

Lines changed: 41 additions & 1 deletion

File tree

runner/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ runner/
99
├── npu3/ # NPU3 platform tests
1010
├── phx/ # Phoenix platform tests
1111
└── strx/ # Strix platform tests
12+
└── ve2/ # Telluride platform tests
1213
```
1314

1415
## Creating Archives
@@ -26,6 +27,9 @@ Use the `ar` utility to create archives. **Note**: The `ar` utility preserves di
2627

2728
# Archive all STRX subdirectories
2829
(cd strx && find . -type f -print0 | xargs -0 ar -cr xrt_smi_strx.a)
30+
31+
# Archive all VE2 subdirectories
32+
(cd strx && find . -type f -print0 | xargs -0 ar -cr xrt_smi_ve2.a)
2933
```
3034

3135
## File Types in Archives
@@ -47,4 +51,4 @@ Each test category typically contains:
4751
- Archives are created in the current working directory
4852
- Use `ar -t archive_name.a` to list contents of an archive
4953
- Use `ar -x archive_name.a` to extract all files from an archive
50-
- All files will be extracted to the current directory without preserving subdirectory structure
54+
- All files will be extracted to the current directory without preserving subdirectory structure

runner/ve2/latency/nop.elf

9.58 KB
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"version": "1.0",
3+
4+
"execution" : {
5+
"iterations": 10000,
6+
"verbose": false
7+
}
8+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"version": "1.0",
3+
"header": {
4+
"xclbin": "validate.xclbin"
5+
},
6+
"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+
],
12+
"kernels": [
13+
{ "name": "k1", "instance": "DPU", "ctrlcode": "nop.elf" }
14+
]
15+
},
16+
"execution": {
17+
"runs": [
18+
{
19+
"name": "k1",
20+
"arguments" : [
21+
{ "name": "arg0", "argidx": 0 },
22+
{ "name": "arg1", "argidx": 1 },
23+
{ "name": "arg2", "argidx": 2 }
24+
]
25+
}
26+
]
27+
}
28+
}

runner/ve2/latency/validate.xclbin

9.29 MB
Binary file not shown.

runner/ve2/xrt_smi_ve2.a

9.3 MB
Binary file not shown.

0 commit comments

Comments
 (0)