Skip to content

Commit

Permalink
[sw] added simple test for chaining and dotproduct
Browse files Browse the repository at this point in the history
  • Loading branch information
Navaneeth-KunhiPurayil committed Nov 9, 2024
1 parent 8862531 commit 9769e78
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hw/system/spatz_cluster/cfg/spatz_cluster.default.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"cluster_default_axi_user": 1,
"axi_cdc_enable": false,
"tcdm": {
"size": 128,
"size": 1024,
"banks": 32
},
"cluster_periph_size": 64, // kB
Expand Down
1 change: 1 addition & 0 deletions hw/system/spatz_cluster/sw/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ enable_testing()
add_subdirectory(${SNITCH_SOFTWARE_DIR}/snRuntime snRuntime)
add_subdirectory(${SNITCH_SOFTWARE_DIR}/riscvTests riscvTests)
add_subdirectory(${SNITCH_SOFTWARE_DIR}/spatzBenchmarks spatzBenchmarks)
add_subdirectory(${SNITCH_SOFTWARE_DIR}/chainingTest chainingTest)
3 changes: 3 additions & 0 deletions sw/spatzBenchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ add_spatz_test_oneParam(dp-faxpy dp-faxpy/main.c 256)
add_spatz_test_oneParam(dp-faxpy dp-faxpy/main.c 1024)

add_spatz_test_oneParam(dp-fdotp dp-fdotp/main.c 128)
add_spatz_test_oneParam(dp-fdotp dp-fdotp/main.c 384)
add_spatz_test_oneParam(dp-fdotp dp-fdotp/main.c 4096)
add_spatz_test_oneParam(dp-fdotp dp-fdotp/main.c 8192)
add_spatz_test_oneParam(dp-fdotp dp-fdotp/main.c 16384)

add_spatz_test_threeParam(dp-fconv2d dp-fconv2d/main.c 32 32 7)
add_spatz_test_threeParam(dp-fconv2d dp-fconv2d/main.c 64 64 7)
Expand Down

0 comments on commit 9769e78

Please sign in to comment.