Skip to content

Commit

Permalink
fix(vitis): update LLM scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrantxiao24 committed Sep 6, 2024
1 parent 6496623 commit 16e8cc8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions benchmarks/vitis_flow/LLM/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/vitis_flow/LLM/design/bert_all.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions regression_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down Expand Up @@ -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}

0 comments on commit 16e8cc8

Please sign in to comment.