Skip to content
Open
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
11 changes: 9 additions & 2 deletions VX_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,19 @@ VX_CFG_ICACHE_MRSQ_SIZE = 0
VX_CFG_ICACHE_MREQ_SIZE = 0
VX_CFG_ICACHE_CRSQ_SIZE = 0
VX_CFG_ICACHE_MEM_PORTS = 1
# banks behind the fetch-slice request ports
VX_CFG_ICACHE_NUM_BANKS = "expr: pow(2, clog2($VX_CFG_FETCH_WIDTH))"
# banks behind the fetch-slice request ports; with the fetch L0 the slices share
# one port, which a bank serves
VX_CFG_ICACHE_NUM_BANKS = "expr: 1 if $VX_CFG_ICACHE_L0_ENABLE else pow(2, clog2($VX_CFG_FETCH_WIDTH))"
# Merge same-line fetches from the core's slices in the same cycle into one
# bank access; the response goes to every merged slice, each with its word.
VX_CFG_ICACHE_READ_MERGE = 1
VX_CFG_ICACHE_LATENCY = "expr: 2 + max(0, clog2($VX_CFG_ICACHE_SIZE) - clog2(16384))"
# Fetch L0: each fetch slice keeps a few whole icache lines, and a fetch that
# hits there reaches decode the next cycle instead of after the icache's round
# trip. A warp fetches again only after its instruction is decoded, so with few
# warps per slice that round trip bounds issue. Fixed-length fetch only (no C).
VX_CFG_ICACHE_L0_ENABLE = false
VX_CFG_ICACHE_L0_LINES = 4

VX_CFG_DCACHE_SIZE = 16384
VX_CFG_DCACHE_NUM_WAYS = 4
Expand Down
34 changes: 17 additions & 17 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": "6a8db2da81885bd3",
"config_hash": "ee62a428d0faeabb",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -17,7 +17,7 @@
},
"app": "raycast",
"args": "",
"config_hash": "a7365739bd29ae7f",
"config_hash": "582945597853fc7a",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -28,7 +28,7 @@
},
"app": "sgemm",
"args": "-n128",
"config_hash": "a94d5512bae0d0c4",
"config_hash": "c4ed8061884b8581",
"configs": "-DVX_CFG_NUM_WARPS=8 -DVX_CFG_NUM_CORES=2 -DVX_CFG_NUM_THREADS=16 -DVX_CFG_L2_ENABLE",
"driver": "rtlsim"
},
Expand All @@ -39,7 +39,7 @@
},
"app": "sgemm",
"args": "-n128",
"config_hash": "ed82856d2fbdb4fa",
"config_hash": "6d28c41cb33bab0a",
"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": "207c97cf1edf224d",
"config_hash": "f2953a53cc1970ff",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -61,7 +61,7 @@
},
"app": "sgemm",
"args": "-n128",
"config_hash": "ddaf766d29f0c9e2",
"config_hash": "cd10e4f446959b85",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -72,7 +72,7 @@
},
"app": "sgemm2",
"args": "-n64 -t4",
"config_hash": "e3a289024245088f",
"config_hash": "5ad3bee978bc681d",
"configs": "-DVX_CFG_EXT_LDST_WIDE_ENABLE -DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -83,7 +83,7 @@
},
"app": "sgemmx",
"args": "-n128",
"config_hash": "b33624dacfde5ab3",
"config_hash": "696055b197a0176e",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -94,7 +94,7 @@
},
"app": "sgemmx",
"args": "-n128",
"config_hash": "c2faf5453d1010f0",
"config_hash": "83033a42a7ef3c6f",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -105,7 +105,7 @@
},
"app": "sgemv",
"args": "-m512 -n512",
"config_hash": "ba5846fb3e38ff61",
"config_hash": "26982abdfbeb85ee",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -116,7 +116,7 @@
},
"app": "sgemv",
"args": "-m512 -n512",
"config_hash": "ff7c79ffef364ae9",
"config_hash": "71520c03ef99f807",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -127,7 +127,7 @@
},
"app": "softmax",
"args": "-n64",
"config_hash": "5c38536ce941bce9",
"config_hash": "dac769be8957ba2d",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -138,7 +138,7 @@
},
"app": "softmax",
"args": "-n64",
"config_hash": "647c47cbc33e0b1e",
"config_hash": "d050a332df68acaa",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -149,7 +149,7 @@
},
"app": "stencil3d",
"args": "-n32",
"config_hash": "e962be6c4a705bd0",
"config_hash": "c5893a783df02fa6",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -160,7 +160,7 @@
},
"app": "stencil3d",
"args": "-n32",
"config_hash": "44671bcb89d71094",
"config_hash": "98aba4d66a20a6c5",
"configs": "-DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
},
Expand All @@ -171,7 +171,7 @@
},
"app": "vecadd",
"args": "-n16384",
"config_hash": "3c46a73d97d7dde8",
"config_hash": "eec2891c0f4dc7d1",
"configs": "-DVX_CFG_NUM_THREADS=16",
"driver": "rtlsim"
},
Expand All @@ -182,7 +182,7 @@
},
"app": "vecadd",
"args": "-n16384",
"config_hash": "67f76328e947f037",
"config_hash": "43c063b7b2bc8353",
"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": "a98f143d348178b8",
"config_hash": "6508d11862252bfc",
"configs": "-DVX_CFG_EXT_DXA_ENABLE",
"driver": "rtlsim"
},
Expand All @@ -17,7 +17,7 @@
},
"app": "dxa_copy",
"args": "-d1",
"config_hash": "55c5155d6ab46f83",
"config_hash": "94b5f6ff7e05a12d",
"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": "ee5d9d68a6bee766",
"config_hash": "276aa7f1b3fef5b2",
"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": "82c50e47ea6ea51c",
"config_hash": "baf0ca5f70fbffd8",
"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": "8f2e3ded05181df5",
"config_hash": "1e4e377e4c0998e5",
"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": "a94548f6a341be69",
"config_hash": "c9fa6f2e8840411c",
"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": "b647693500d03cdb",
"config_hash": "7022cd727b55cdbc",
"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": "7506c2b313ddfb40",
"config_hash": "5eadebf206b6b001",
"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": "a7d7a7c19cc97d7f",
"config_hash": "cb0f3a92496dfd01",
"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": "0dfd4e6b3f65442b",
"config_hash": "8e59bba128dd8ae0",
"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": "30f77e58ea21b51b",
"config_hash": "68878a6e505b9748",
"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": "c548118c41bcef23",
"config_hash": "61ac2bea9e718ae6",
"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": "48890b8c1ad7fe04",
"config_hash": "d72e5cb799606e6d",
"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": "b08776e5f96f6b97",
"config_hash": "4a13f956a2d5d572",
"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": "32307cceb33dc7a6",
"config_hash": "d3d0d33d18bf8b9a",
"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": "ce07b69d9a182c02",
"config_hash": "8751642a0d79a809",
"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": "366fbc3590ee481f",
"config_hash": "9130e9fde569a633",
"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": "8c3f6ea5a04a0d52",
"config_hash": "8f9c1de064541e41",
"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": "370db7ba23efdbb2",
"config_hash": "57cd57fec49c1bc6",
"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": "a680ecaa56a2c2fd",
"config_hash": "4aaa695dfefd46c8",
"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": "9fa9d930efb7a892",
"config_hash": "1234a743dca60ff9",
"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": "bf5c79f92d7a2d0b",
"config_hash": "4a56ac28c29397af",
"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": "6eca2ad296cbc4c8",
"config_hash": "9210f172fe133bca",
"configs": "-DVX_CFG_EXT_RTU_ENABLE -DVX_CFG_NUM_THREADS=4",
"driver": "rtlsim"
}
Expand Down
Loading
Loading