util: fix raw binary loading using --raw-cpt (#160) #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gem5 Test | |
on: | |
push: | |
branches: [ xs-dev ] | |
pull_request: | |
branches: [ xs-dev ] | |
jobs: | |
paralel_cpt_test: | |
runs-on: self-hosted | |
continue-on-error: false | |
name: XS-GEM5 - Running test checkpoints | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build DRAMSim | |
run: | | |
export GEM5_HOME=$(pwd) | |
cd ext/dramsim3 | |
git clone [email protected]:umd-memsys/DRAMSim3.git DRAMsim3 | |
cd DRAMsim3 && mkdir -p build | |
cd build | |
cmake .. | |
make -j 48 | |
cd $GEM5_HOME | |
- name: Build GEM5 opt | |
run: | | |
source /nfs-nvme/home/share/zyy/shared_apps/setenv_AOCC.sh | |
CC=clang CXX=clang++ scons build/RISCV/gem5.opt -j 48 --gold-linker | |
- name: Run paralel autotest script | |
run: python3 .github/workflows/autotest/script/autotest.py -f .github/workflows/autotest/gem5.cfg | |
valgrind_memory_check: | |
runs-on: self-hosted | |
continue-on-error: false | |
name: XS-GEM5 - Check memory corruption | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build DRAMSim | |
run: | | |
export GEM5_HOME=$(pwd) | |
cd ext/dramsim3 | |
git clone [email protected]:umd-memsys/DRAMSim3.git DRAMsim3 | |
cd DRAMsim3 && mkdir -p build | |
cd build | |
cmake .. | |
make -j 48 | |
cd $GEM5_HOME | |
- name: Build GEM5 debug | |
run: CC=gcc CXX=g++ scons build/RISCV/gem5.debug --linker=gold -j64 | |
- name: Memory check | |
run: | | |
export GEM5_HOME=$(pwd) | |
bash util/memory_check/run-xs-with-valgrind.sh | |
cd $GEM5_HOME | |
new_sim_script_test_gcb: | |
runs-on: self-hosted | |
continue-on-error: false | |
name: XS-GEM5 - Test new simulation script on RV64GCB | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build DRAMSim | |
run: | | |
export GEM5_HOME=$(pwd) | |
cd ext/dramsim3 | |
git clone [email protected]:umd-memsys/DRAMSim3.git DRAMsim3 | |
cd DRAMsim3 && mkdir -p build | |
cd build | |
cmake .. | |
make -j 48 | |
cd $GEM5_HOME | |
- name: Build GEM5 opt | |
run: CC=gcc CXX=g++ scons build/RISCV/gem5.opt --linker=gold -j64 | |
- name: XS-GEM5 - Test xiangshan.py simulation scripts | |
run: | | |
export GCBV_REF_SO="/nfs-nvme/home/share/zyy/shared_payloads/gem5-release/2024-05-14/nemu-gcbv-ref.so" | |
export GCB_RESTORER="/nfs-nvme/home/share/zyy/shared_payloads/gem5-release/2024-05-14/gcb-restorer.bin" | |
export GEM5_HOME=$(pwd) | |
mkdir -p $GEM5_HOME/util/xs_scripts/test | |
cd $GEM5_HOME/util/xs_scripts/test | |
bash ../kmh_6wide.sh /nfs/home/share/jiaxiaoyu/simpoint_checkpoint_archive/spec06_rv64gcb_O3_20m_gcc12.2.0-intFpcOff-jeMalloc/zstd-checkpoint-0-0-0/xalancbmk/133/_133_0.006424_.zstd | |
new_sim_script_test_gcbv: | |
runs-on: self-hosted | |
continue-on-error: false | |
name: XS-GEM5 - Test new simulation script on RV64GCBV | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build DRAMSim | |
run: | | |
export GEM5_HOME=$(pwd) | |
cd ext/dramsim3 | |
git clone [email protected]:umd-memsys/DRAMSim3.git DRAMsim3 | |
cd DRAMsim3 && mkdir -p build | |
cd build | |
cmake .. | |
make -j 48 | |
cd $GEM5_HOME | |
- name: Build GEM5 opt | |
run: CC=gcc CXX=g++ scons build/RISCV/gem5.opt --linker=gold -j64 | |
- name: XS-GEM5 - Test xiangshan.py simulation scripts | |
run: | | |
export GCBV_REF_SO="/nfs-nvme/home/share/zyy/shared_payloads/gem5-release/2024-05-14/nemu-gcbv-ref.so" | |
export GCBV_RESTORER="/nfs-nvme/home/share/zyy/shared_payloads/gem5-release/2024-05-14/gcbv-restorer.bin" | |
export GEM5_HOME=$(pwd) | |
mkdir -p $GEM5_HOME/util/xs_scripts/test_v | |
cd $GEM5_HOME/util/xs_scripts/test_v | |
bash ../kmh_6wide_vector.sh /nfs/home/share/jiaxiaoyu/simpoint_checkpoint_archive/spec06_hmmer_libquantum_h264_rv64gcv_O3_20m_gcc14.0.0_1218-intFpcOff-ptMalloc/disdain-practical-toll-2023-12-25-11-26/zstd-checkpoint-0-0-0/hmmer_nph3/102/_102_0.0243576.zstd | |
new_sim_script_test_gcb_multi_core: | |
runs-on: self-hosted | |
continue-on-error: false | |
name: XS-GEM5 - Test Multi-core + RV64GCB | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build GEM5 opt | |
run: | | |
source /nfs-nvme/home/share/zyy/shared_apps/setenv_AOCC.sh | |
CC=clang CXX=clang++ scons build/RISCV_CHI/gem5.opt -j 48 --gold-linker | |
- name: XS-GEM5 - Test xiangshan.py simulation scripts | |
run: | | |
export GCBV_MULTI_CORE_REF_SO="/nfs-nvme/home/share/zyy/shared_payloads/gem5-release/2024-05-14/nemu-gcbv-multi-core-ref.so" | |
export GCB_MULTI_CORE_RESTORER="/nfs-nvme/home/share/zyy/shared_payloads/gem5-release/2024-05-14/gcb-2core-restorer.bin" | |
export GEM5_HOME=$(pwd) | |
mkdir -p $GEM5_HOME/util/xs_scripts/test_multi_core | |
cd $GEM5_HOME/util/xs_scripts/test_multi_core | |
bash ../kmh-ruby-dual.sh /nfs-nvme/home/share/zyy/shared_payloads/bzip_checkpoint_with_sv39_without_rdtime_with_dualmtimecpt_1000M.gz |