Skip to content

Commit

Permalink
experimental_offload: Align run.py with new sim_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Dec 28, 2023
1 parent 1575c43 commit 413251e
Show file tree
Hide file tree
Showing 5 changed files with 311 additions and 239 deletions.
11 changes: 10 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,20 @@ occamy-full-vsim:
# Questa
occamy-mcast-vsim:
variables:
RISCV_CFLAGS: "-DUSE_MULTICAST"
RISCV_CFLAGS: "-DUSE_MULTICAST -DOFFLOAD_AXPY"
DATA_CFG: "$(PWD)/sw/device/apps/blas/gemm/params.hjson"
script:
- cd target/sim
- make CFG_OVERRIDE=cfg/M-Q4C4.hjson rtl
- make LENGTH=1024 sw
- make bin/occamy_top.vsim
- ./run.py sw/run-mcast-occamy.yaml -j

########################
# Offload Occamy tests #
########################

occamy-offload-vsim:
script:
- cd target/sim/sw/host/apps/experimental_offload
- ./run.py ci.yml -j --hw-cfg Q4C4
19 changes: 19 additions & 0 deletions target/sim/sw/host/apps/experimental_offload/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Luca Colagrande <colluca@iis.ee.ethz.ch>

runs:
- app: axpy
length: 1024
n_clusters_to_use: 2
multicast: true
- app: mc
length: 256
n_clusters_to_use: 2
multicast: true
- app: gemm
length: 4
n_clusters_to_use: 2
multicast: true
Loading

0 comments on commit 413251e

Please sign in to comment.