From 16e8cc83e0831de83895021f9b94cef4c83c568d Mon Sep 17 00:00:00 2001 From: Yuanlong Xiao Date: Wed, 28 Aug 2024 12:14:05 -0700 Subject: [PATCH] fix(vitis): update LLM scripts --- benchmarks/vitis_flow/LLM/Makefile | 4 ++-- benchmarks/vitis_flow/LLM/design/bert_all.cpp | 4 ++-- regression_test.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/benchmarks/vitis_flow/LLM/Makefile b/benchmarks/vitis_flow/LLM/Makefile index 8e0d2372..e0d667d7 100644 --- a/benchmarks/vitis_flow/LLM/Makefile +++ b/benchmarks/vitis_flow/LLM/Makefile @@ -22,7 +22,7 @@ GEN_XO := 1 BUILD_LOG := $(TEMP_DIR)/build.json SUCCESS := "Build Successful" -TIMING_RPT := $(TEMP_DIR)/dse/candidate_0/vitis_run_hw/$(KERNEL_NAME)_$(PLATFORM).temp/reports/link/imp/impl_1_hw_bb_locked_timing_summary_routed.rpt +TIMING_RPT := impl_1_hw_bb_locked_timing_summary_routed.rpt SLACK_GETTER := $(ROOT_DIR)/common/util/get_slack.py RSXX := rapidstream @@ -47,7 +47,7 @@ else endif all: $(RS_XCLBIN) - $(RSXX) $(SLACK_GETTER) -i $(TIMING_RPT) -o $(BUILD_LOG) + $(RSXX) $(SLACK_GETTER) -d $(TEMP_DIR) -i $(TIMING_RPT) -o $(BUILD_LOG) -c clk_kernel_00_unbuffered_net -p 3.333 echo $(SUCCESS) $(RS_XCLBIN):$(KERNEL_XO) diff --git a/benchmarks/vitis_flow/LLM/design/bert_all.cpp b/benchmarks/vitis_flow/LLM/design/bert_all.cpp index fc0307ed..58070a0d 100644 --- a/benchmarks/vitis_flow/LLM/design/bert_all.cpp +++ b/benchmarks/vitis_flow/LLM/design/bert_all.cpp @@ -33,7 +33,7 @@ using namespace std; #include "const/buf28.h" extern "C" { -void bert_all1( +void bert_all( io_pack_float *inp_addr_0, io_pack_float *inp_addr_1, io_pack_float *inp_addr_2, @@ -170,7 +170,7 @@ void k4( extern "C" { -void bert_all( +void bert_all1( io_pack_float *inp_addr_0, io_pack_float *inp_addr_1, io_pack_float *inp_addr_2, diff --git a/regression_test.sh b/regression_test.sh index 8cfb79ce..ed9fb442 100644 --- a/regression_test.sh +++ b/regression_test.sh @@ -25,7 +25,7 @@ single_make_test(){ cd ${app} if [ "${mode}" = "${CLEAN_TEST}" ]; then echo "Will clean metadata for ${app}" - make clean + make RS_SCRIPT=${rs_script} clean fi make RSXX="${RSXX}" RS_SCRIPT=${rs_script} all cd - @@ -54,4 +54,4 @@ single_make_test "${TAPA_DIR}/bloomFilter/b3_8_5_8" "run.py" ${CLEAN_TEST} #single_make_test "${VITIS_DIR}/cnn13x2" "run_u50.py" ${CLEAN_TEST} & #single_make_test "${VITIS_DIR}/cnn13x4_16/cnn13x4" "run.py" ${CLEAN_TEST} & -single_make_test "${VITIS_DIR}/cnn13x4_16/cnn13x6" "run.py" ${CLEAN_TEST} +#single_make_test "${VITIS_DIR}/cnn13x4_16/cnn13x6" "run.py" ${CLEAN_TEST}