2022-10-13 18:53:44 +08:00
|
|
|
name: Build mem
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 22 * * 0' # runs at 00:00 CET Sunday
|
|
|
|
|
2022-10-17 19:39:49 +08:00
|
|
|
workflow_dispatch:
|
2022-10-13 18:53:44 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
2022-11-03 22:53:37 +08:00
|
|
|
build_perf_dram_hw:
|
2022-10-13 18:53:44 +08:00
|
|
|
runs-on: self-hosted
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2022-11-03 22:53:37 +08:00
|
|
|
- name: Compile HW Striping Perf DRAM
|
2022-10-13 18:53:44 +08:00
|
|
|
run: |
|
2022-11-03 22:53:37 +08:00
|
|
|
mkdir build_perf_dram_hw && cd build_perf_dram_hw
|
|
|
|
/usr/bin/cmake ../hw/ -DFDEV_NAME=u250 -DEXAMPLE=perf_dram
|
2022-10-13 18:53:44 +08:00
|
|
|
make shell && make compile
|
|
|
|
|
2022-11-07 05:43:59 +08:00
|
|
|
- name: Artifact upload
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: bitstream-perf-dram
|
|
|
|
path: build_perf_dram_hw/bitstreams
|
|
|
|
retention-days: 1
|
|
|
|
|
2022-11-03 22:53:37 +08:00
|
|
|
build_perf_hbm_hw:
|
2022-10-13 18:53:44 +08:00
|
|
|
runs-on: self-hosted
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2022-11-03 22:53:37 +08:00
|
|
|
- name: Compile HW Striping Perf HBM
|
2022-10-13 18:53:44 +08:00
|
|
|
run: |
|
2022-11-03 22:53:37 +08:00
|
|
|
mkdir build_perf_hbm_hw && cd build_perf_hbm_hw
|
|
|
|
/usr/bin/cmake ../hw/ -DFDEV_NAME=u280 -DEXAMPLE=perf_hbm
|
2022-10-13 18:53:44 +08:00
|
|
|
make shell && make compile
|
2022-11-07 05:43:59 +08:00
|
|
|
|
|
|
|
- name: Artifact upload
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: bitstream-perf-hbm
|
|
|
|
path: build_perf_hbm_hw/bitstreams
|
|
|
|
retention-days: 1
|
|
|
|
|
2022-10-13 18:53:44 +08:00
|
|
|
|
2022-11-07 05:43:59 +08:00
|
|
|
build_perf_mem_sw:
|
2022-10-13 18:53:44 +08:00
|
|
|
runs-on: self-hosted
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Compile SW Striping
|
|
|
|
run: |
|
2022-11-07 18:31:54 +08:00
|
|
|
mkdir build_perf_mem_sw && cd build_perf_mem_sw
|
2022-11-07 05:43:59 +08:00
|
|
|
/usr/bin/cmake ../sw/ -DTARGET_DIR=examples/perf_mem
|
2022-10-13 18:53:44 +08:00
|
|
|
make
|