Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ follows the version pins recorded in [VERSION](VERSION) (`VORTEX_VERSION`,

### Changed

- **One operand collector per issue slice (`VX_CFG_NUM_OPCS`, default 1).** It was one per 4 warps of a slice. The scoreboard
already issues only when the target unit's dispatch queue has room, so extra collectors only absorbed register bank conflicts.
*Why:* each collector holds three full-width operands and its own register-file banks. At 64 warps, 4 issue slices and 32
threads (rtlsim, 8 SIMT kernels), 1 collector per slice instead of 4 is 2.1% faster on geomean, worst +0.8% (sgemv), and
2 per slice matches 4 to the cycle. Beacon's `core` build (16 warps, 16 threads, 4 collectors to 1): LUTs -12.1%,
flip-flops -13.3%, block RAM -70%, same logic depth.

- **V80 image reuse across runs.** A design the card already holds is no longer written again on every device open. SLASH now does
what XRT does for xclbins: `slashkit` stamps a UUID into the vbin, `vrtd` remembers the UUID it wrote and skips a write of the same
one, `VRT_FORCE_PROGRAM=1` overrides, `v80-smi forget-design` reports a design loaded over JTAG (`jtag_load_vortex.sh` now runs
Expand Down
6 changes: 5 additions & 1 deletion VX_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ VX_CFG_ISSUE_WIDTH = "expr: pow(2, clog2(up($VX_CFG_NUM_WARPS / 16)))"
# default (the largest power of two dividing ISSUE_WIDTH).
VX_CFG_FETCH_WIDTH = "expr: $VX_CFG_ISSUE_WIDTH & -$VX_CFG_ISSUE_WIDTH"
VX_CFG_SIMD_WIDTH = "expr: $VX_CFG_NUM_THREADS"
VX_CFG_NUM_OPCS = "expr: up($VX_CFG_NUM_WARPS / (4 * $VX_CFG_ISSUE_WIDTH))"
# Operand collectors per issue slice (ISSUE_WIDTH x NUM_OPCS in the core). The
# scoreboard issues only when the target unit's dispatch queue has room, so a
# collector never waits on a busy unit; more collectors only hide register bank
# conflicts.
VX_CFG_NUM_OPCS = 1
VX_CFG_NUM_GPR_BANKS = 4
VX_CFG_NUM_VGPR_BANKS = 2

Expand Down
36 changes: 18 additions & 18 deletions ci/baselines/perf/core.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"app": "raycast",
"args": "",
"config_hash": "55cc313a7e04e175",
"config_hash": "d414931503229aec",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -17,29 +17,29 @@
},
"app": "raycast",
"args": "",
"config_hash": "dd27d4e019b1ce48",
"config_hash": "98392fc03a8df19a",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
"core:sgemm-mc-nt16:rtlsim": {
"32": {
"cycles": 479787,
"cycles": 474193,
"instrs": 621632
},
"app": "sgemm",
"args": "-n128",
"config_hash": "bb3179476f050efd",
"config_hash": "6fbb9a2e95458576",
"configs": "-DVX_CFG_NUM_WARPS=8 -DVX_CFG_NUM_CORES=2 -DVX_CFG_NUM_THREADS=16 -DVX_CFG_L2_ENABLE",
"driver": "rtlsim"
},
"core:sgemm-mc-nt4:rtlsim": {
"32": {
"cycles": 1679928,
"cycles": 1680553,
"instrs": 2486336
},
"app": "sgemm",
"args": "-n128",
"config_hash": "d7960926dfeeeb1a",
"config_hash": "85fc79e461a9eae6",
"configs": "-DVX_CFG_NUM_WARPS=8 -DVX_CFG_NUM_CORES=2 -DVX_CFG_NUM_THREADS=4 -DVX_CFG_L2_ENABLE",
"driver": "rtlsim"
},
Expand All @@ -50,7 +50,7 @@
},
"app": "sgemm",
"args": "-n128",
"config_hash": "fa3eb81110539fb3",
"config_hash": "30ea04916277e83e",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -61,7 +61,7 @@
},
"app": "sgemm",
"args": "-n128",
"config_hash": "faa73f4f1a81a3d0",
"config_hash": "405fd99769a6fed2",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -72,7 +72,7 @@
},
"app": "sgemmx",
"args": "-n128",
"config_hash": "5e051358cb6705f1",
"config_hash": "f6b122c6958399ed",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -83,7 +83,7 @@
},
"app": "sgemmx",
"args": "-n128",
"config_hash": "0286292d319c5b4e",
"config_hash": "c0c9ece9475822df",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -94,7 +94,7 @@
},
"app": "sgemv",
"args": "-m512 -n512",
"config_hash": "2a1bbb428f8d6870",
"config_hash": "84e9a17ef066fde0",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -105,7 +105,7 @@
},
"app": "sgemv",
"args": "-m512 -n512",
"config_hash": "575d72e47c1c0daa",
"config_hash": "293b8ef07ed58d4a",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -116,7 +116,7 @@
},
"app": "softmax",
"args": "-n64",
"config_hash": "d656cb5ba22d494f",
"config_hash": "805b3f4154836833",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -127,7 +127,7 @@
},
"app": "softmax",
"args": "-n64",
"config_hash": "f5c775b6c4dbc1cf",
"config_hash": "8a404317baf72bd9",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -138,7 +138,7 @@
},
"app": "stencil3d",
"args": "-n32",
"config_hash": "5082708220a3aab3",
"config_hash": "b746818e16141dee",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -149,7 +149,7 @@
},
"app": "stencil3d",
"args": "-n32",
"config_hash": "7c57f7380ccb6a94",
"config_hash": "c926bb7b2189f928",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -160,7 +160,7 @@
},
"app": "vecadd",
"args": "-n16384",
"config_hash": "37045d524c1e46ce",
"config_hash": "0fac3ed48ce060eb",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -171,7 +171,7 @@
},
"app": "vecadd",
"args": "-n16384",
"config_hash": "d353d7d15f65b5fd",
"config_hash": "0c6d5518b0675817",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
}
Expand Down
22 changes: 11 additions & 11 deletions ci/baselines/perf/dxa.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"app": "dxa_copy_mcast",
"args": "",
"config_hash": "902d06551db54908",
"config_hash": "d5914dcc8257078c",
"configs": "-DVX_CFG_EXT_DXA_ENABLE",
"driver": "rtlsim"
},
Expand All @@ -17,7 +17,7 @@
},
"app": "dxa_copy",
"args": "-d1",
"config_hash": "07394e6aa480a2d8",
"config_hash": "74dc81c874b237de",
"configs": "-DVX_CFG_EXT_DXA_ENABLE -DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -28,7 +28,7 @@
},
"app": "dxa_copy",
"args": "-d1",
"config_hash": "2bb76314b3aac79b",
"config_hash": "94566410371cda23",
"configs": "-DVX_CFG_EXT_DXA_ENABLE -DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -39,7 +39,7 @@
},
"app": "sgemm2_dxa_mcast",
"args": "-n128",
"config_hash": "cbfcd136a9cbf5f3",
"config_hash": "d60f253440f0555e",
"configs": "-DVX_CFG_EXT_DXA_ENABLE -DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -50,7 +50,7 @@
},
"app": "sgemm2_dxa_mcast",
"args": "-n128",
"config_hash": "4c813805db4d6ceb",
"config_hash": "d0ce74c9e8cade30",
"configs": "-DVX_CFG_EXT_DXA_ENABLE -DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -61,7 +61,7 @@
},
"app": "sgemm2_dxa",
"args": "-n128 -t4 -m1",
"config_hash": "dc6a4fb24203f236",
"config_hash": "1a9a630978b5849f",
"configs": "-DVX_CFG_EXT_DXA_ENABLE -DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -72,7 +72,7 @@
},
"app": "sgemm2_dxa",
"args": "-n128 -t4 -m1",
"config_hash": "c0117149996966a4",
"config_hash": "c4c6f876bfff33b9",
"configs": "-DVX_CFG_EXT_DXA_ENABLE -DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -83,7 +83,7 @@
},
"app": "sgemm_tcu_wg_dxa_mcast",
"args": "-m 128 -n 128 -k 64",
"config_hash": "4578525b3dad120a",
"config_hash": "5898c6ee04f56273",
"configs": "-DVX_CFG_EXT_TCU_ENABLE -DVX_CFG_EXT_DXA_ENABLE -DVX_CFG_NUM_ALU_BLOCKS=1 -DVX_CFG_NUM_LSU_BLOCKS=1 -DVX_CFG_NUM_FPU_BLOCKS=1 -DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -94,7 +94,7 @@
},
"app": "sgemm_tcu_wg_dxa_mcast",
"args": "-m 128 -n 128 -k 64",
"config_hash": "cf9987cc4e0ec4b6",
"config_hash": "6b213166e1ac6524",
"configs": "-DVX_CFG_EXT_TCU_ENABLE -DVX_CFG_EXT_DXA_ENABLE -DVX_CFG_NUM_ALU_BLOCKS=1 -DVX_CFG_NUM_LSU_BLOCKS=1 -DVX_CFG_NUM_FPU_BLOCKS=1 -DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -105,7 +105,7 @@
},
"app": "sgemm_tcu_wg_dxa",
"args": "-m 128 -n 128 -k 64",
"config_hash": "2dfa43c0ffd2af2a",
"config_hash": "4468885b2f1e3c64",
"configs": "-DVX_CFG_ISSUE_WIDTH=4 -DVX_CFG_EXT_TCU_ENABLE -DVX_CFG_TCU_WGMMA_ENABLE -DVX_CFG_EXT_DXA_ENABLE -DWGMMA_NRC=16 -DVX_CFG_NUM_ALU_BLOCKS=1 -DVX_CFG_NUM_LSU_BLOCKS=1 -DVX_CFG_NUM_FPU_BLOCKS=1 -DVX_CFG_NUM_WARPS=8 -DVX_CFG_NUM_THREADS=32",
"driver": "rtlsim"
},
Expand All @@ -116,7 +116,7 @@
},
"app": "sgemm_tcu_wg_sp_dxa",
"args": "-m 128 -n 128 -k 128",
"config_hash": "5cb40c33773fc66c",
"config_hash": "61fbe9adef0cd71a",
"configs": "-DVX_CFG_ISSUE_WIDTH=4 -DVX_CFG_EXT_TCU_ENABLE -DVX_CFG_TCU_WGMMA_ENABLE -DVX_CFG_TCU_SPARSE_ENABLE -DVX_CFG_EXT_DXA_ENABLE -DWGMMA_NRC=32 -DVX_CFG_NUM_ALU_BLOCKS=1 -DVX_CFG_NUM_LSU_BLOCKS=1 -DVX_CFG_NUM_FPU_BLOCKS=1 -DVX_CFG_NUM_WARPS=8 -DVX_CFG_NUM_THREADS=32",
"driver": "rtlsim"
}
Expand Down
18 changes: 9 additions & 9 deletions ci/baselines/perf/graphics.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"app": "gfx_draw3d",
"args": "-w 128 -h 128 -t box.cgltrace -r box_ref_128.png",
"config_hash": "89c0128e9ca4f6fd",
"config_hash": "f808730cd6ac42bf",
"configs": "-DVX_CFG_EXT_TEX_ENABLE -DVX_CFG_EXT_RASTER_ENABLE -DVX_CFG_EXT_OM_ENABLE -DVX_CFG_NUM_CORES=2 -DVX_CFG_NUM_THREADS=4 -DVX_CFG_L2_ENABLE",
"driver": "rtlsim"
},
Expand All @@ -17,7 +17,7 @@
},
"app": "gfx_draw3d",
"args": "-w 128 -h 128 -t box.cgltrace -r box_ref_128.png",
"config_hash": "e624b9b51f6baef3",
"config_hash": "8a872ee5632e1a1c",
"configs": "-DVX_CFG_EXT_TEX_ENABLE -DVX_CFG_EXT_RASTER_ENABLE -DVX_CFG_EXT_OM_ENABLE -DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -28,7 +28,7 @@
},
"app": "gfx_draw3d",
"args": "-w 128 -h 128 -t box.cgltrace -r box_ref_128.png",
"config_hash": "270685a4f2b573e4",
"config_hash": "c48fdc766a34ae7e",
"configs": "-DVX_CFG_EXT_TEX_ENABLE -DVX_CFG_EXT_RASTER_ENABLE -DVX_CFG_EXT_OM_ENABLE -DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -39,7 +39,7 @@
},
"app": "gfx_om",
"args": "-w 128 -h 128 -r whitebox_128.png",
"config_hash": "8f81b9cbea824821",
"config_hash": "7d14ce53aa8a0f88",
"configs": "-DVX_CFG_EXT_OM_ENABLE -DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -50,7 +50,7 @@
},
"app": "gfx_om",
"args": "-w 128 -h 128 -r whitebox_128.png",
"config_hash": "96b6e6d47c8f0e6f",
"config_hash": "41a2c2a135822e66",
"configs": "-DVX_CFG_EXT_OM_ENABLE -DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -61,7 +61,7 @@
},
"app": "gfx_raster",
"args": "-w 128 -h 128 -t triangle.cgltrace -r triangle_ref_128.png",
"config_hash": "465f2e520f475df5",
"config_hash": "53d5a243e523e573",
"configs": "-DVX_CFG_EXT_RASTER_ENABLE -DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -72,7 +72,7 @@
},
"app": "gfx_raster",
"args": "-w 128 -h 128 -t triangle.cgltrace -r triangle_ref_128.png",
"config_hash": "f672749b1816d04d",
"config_hash": "a470e26c7403e6bb",
"configs": "-DVX_CFG_EXT_RASTER_ENABLE -DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -83,7 +83,7 @@
},
"app": "gfx_tex",
"args": "-i toad.png -r toad_ref_f0.png -f 0 -g 0",
"config_hash": "54f35f4d8236a2f5",
"config_hash": "bb4e29154eff2235",
"configs": "-DVX_CFG_EXT_TEX_ENABLE -DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -94,7 +94,7 @@
},
"app": "gfx_tex",
"args": "-i toad.png -r toad_ref_f0.png -f 0 -g 0",
"config_hash": "dba2310b8ed2bc68",
"config_hash": "be9a1d56c263dff3",
"configs": "-DVX_CFG_EXT_TEX_ENABLE -DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
}
Expand Down
6 changes: 3 additions & 3 deletions ci/baselines/perf/raytracing.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"app": "rt_raycast",
"args": "",
"config_hash": "926004202e1230cc",
"config_hash": "66ca805f438a7f54",
"configs": "-DVX_CFG_EXT_RTU_ENABLE -DVX_CFG_NUM_CORES=2 -DVX_CFG_NUM_THREADS=4 -DVX_CFG_L2_ENABLE",
"driver": "rtlsim"
},
Expand All @@ -17,7 +17,7 @@
},
"app": "rt_raycast",
"args": "",
"config_hash": "cde0e92d03a53a87",
"config_hash": "38e680f586bb288e",
"configs": "-DVX_CFG_EXT_RTU_ENABLE -DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -28,7 +28,7 @@
},
"app": "rt_raycast",
"args": "",
"config_hash": "fffab4e1c8cfe28a",
"config_hash": "349f0e41816ebe43",
"configs": "-DVX_CFG_EXT_RTU_ENABLE -DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
}
Expand Down
Loading
Loading