Skip to content

Commit

Permalink
Remove extra peano (#1855)
Browse files Browse the repository at this point in the history
  • Loading branch information
fifield authored Oct 22, 2024
1 parent a079673 commit 6f34e9b
Show file tree
Hide file tree
Showing 31 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion programming_examples/basic/dma_transpose/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ build/aie.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/basic/matrix_scalar_add/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ all: build/final.xclbin
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/basic/passthrough_dmas/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ inst/insts.txt: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
4 changes: 2 additions & 2 deletions programming_examples/basic/passthrough_kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ build/passThrough.cc.o: passThrough.cc
build/final_${data_size}.xclbin: build/aie2_lineBased_8b_${data_size}.mlir build/passThrough.cc.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts_${data_size}.txt $(<:%=../%)

build/final_trace_${data_size}.xclbin: build/aie2_lineBased_8b_${data_size}.mlir build/passThrough.cc.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts_${data_size}.txt $(<:%=../%)

${targetname}_${data_size}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/basic/passthrough_pykernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ build/aie.mlir: ${srcdir}/aie2.py
build/final_${data_size}.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts_${data_size}.txt $(<:%=../%)

${targetname}_${data_size}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/basic/row_wise_bias_add/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ${mlir_target}: ${srcdir}/aie2.py
${xclbin_target}: ${mlir_target} build/kernel.o
mkdir -p ${@D}
cd ${@D} && aiecc.py -v --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=${insts_target:build/%=%} ${<:%=../%}

${host_target}: ${srcdir}/test.cpp ${xclbin_target}
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/basic/vector_exp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ build/aie.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir build/kernels.a
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/basic/vector_scalar_add/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build/aie.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build/aie.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
4 changes: 2 additions & 2 deletions programming_examples/basic/vector_scalar_mul/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ build/aie_trace_${data_size}.mlir: aie2.py
build/final_${data_size}.xclbin: build/aie_${data_size}.mlir build/scale.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts_${data_size}.txt $(<:%=../%)

build/final_trace_${data_size}.xclbin: build/aie_trace_${data_size}.mlir build/scale.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts_${data_size}.txt $(<:%=../%)

${targetname}_${data_size}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/basic/vector_vector_add/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build/aie.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/basic/vector_vector_modulo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build/aie.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/basic/vector_vector_mul/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build/aie.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/ml/bottleneck/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build/final.xclbin: build/${mlirFileName}.mlir build/conv2dk1.o build/conv2dk3.o
mkdir -p ${@D}
cd ${@D} && aiecc.py -v --aie-generate-cdo --aie-generate-npu --no-compile-host \
--basic-alloc-scheme \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt $(<:%=../%)

clean:
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/ml/conv2d/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ build/${mlirFileName}.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/${mlirFileName}.mlir build/conv2dk1_i8.o
mkdir -p ${@D}
cd ${@D} && aiecc.py -v --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt $(<:%=../%)

run_py: build/final.xclbin build/insts.txt
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/ml/conv2d_fused_relu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ build/conv2dk1.o: conv2dk1.cc
build/final.xclbin: build/${mlirFileName}.mlir build/conv2dk1.o
mkdir -p ${@D}
cd ${@D} && aiecc.py -v --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt $(<:%=../%)

clean:
Expand Down
4 changes: 2 additions & 2 deletions programming_examples/ml/eltwise_add/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ build/aie_trace.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir build/add.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

build/final_trace.xclbin: build/aie_trace.mlir build/add.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
4 changes: 2 additions & 2 deletions programming_examples/ml/eltwise_mul/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ build/aie_trace.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir build/mul.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

build/final_trace.xclbin: build/aie_trace.mlir build/mul.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}


Expand Down
4 changes: 2 additions & 2 deletions programming_examples/ml/relu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ build/aie_trace.mlir: ${srcdir}/aie2.py
build/final.xclbin: build/aie.mlir build/relu.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

build/final_trace.xclbin: build/aie_trace.mlir build/relu.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt ${<F}

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/ml/resnet/layers_conv2_x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ build/conv2dk1_skip.o: conv2dk1_skip.cc
build/final.xclbin: build/${mlirFileName}.mlir build/conv2dk1_i8.o build/conv2dk1_skip_init.o build/conv2dk3.o build/conv2dk1_skip.o build/conv2dk1_ui8.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --basic-alloc-scheme --aie-generate-cdo --aie-generate-npu --no-compile-host \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt $(<:%=../%)
clean:
rm -rf build log
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/vision/color_detect/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ build/aie2_lineBased_8b_${COLORDETECT_WIDTH}.mlir: ${srcdir}/aie2_colorDetect.py
build/final_${COLORDETECT_WIDTH}.xclbin: build/aie2_lineBased_8b_${COLORDETECT_WIDTH}.mlir build/rgba2hue.cc.o build/threshold.cc.o build/combined_bitwiseOR_gray2rgba_bitwiseAND.a
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host --basic-alloc-scheme \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/vision/color_threshold/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build/aie2_${COLORTHRESHOLD_WIDTH}.mlir: ${srcdir}/aie2_colorThreshold.py
build/final_${COLORTHRESHOLD_WIDTH}.xclbin: build/aie2_${COLORTHRESHOLD_WIDTH}.mlir build/threshold.cc.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host --basic-alloc-scheme \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/vision/edge_detect/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ build/aie2_lineBased_8b_${EDGEDETECT_WIDTH}.mlir: ${srcdir}/aie2_edgeDetect.py
build/final_${EDGEDETECT_WIDTH}.xclbin: build/aie2_lineBased_8b_${EDGEDETECT_WIDTH}.mlir build/rgba2gray.cc.o build/gray2rgba.cc.o build/filter2d.cc.o build/threshold.cc.o build/addWeighted.cc.o build/combined_gray2rgba_addWeighted.a
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host --basic-alloc-scheme \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_examples/vision/vision_passthrough/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build/passThrough.cc.o: passThrough.cc
build/final_${PASSTHROUGH_WIDTH}.xclbin: build/aie2_lineBased_8b_${PASSTHROUGH_WIDTH}.mlir build/passThrough.cc.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --aie-generate-npu --no-compile-host --basic-alloc-scheme \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build/aie.mlir: ${srcdir}/ext_to_core.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build/aie.mlir: ${srcdir}/ext_to_core_L2.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build/aie.mlir: ${srcdir}/distribute_L2.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_guide/section-2/section-2e/05_join_L2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build/aie.mlir: ${srcdir}/distribute_and_join_L2.py
build/final.xclbin: build/aie.mlir
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_guide/section-3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build/scale.o: ${srcdir}/vector_scalar_mul.cc
build/final.xclbin: build/aie.mlir build/scale.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
2 changes: 1 addition & 1 deletion programming_guide/section-4/section-4a/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build/scale.o: ${srcdir}/vector_scalar_mul.cc
build/final.xclbin: build/aie.mlir build/scale.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down
4 changes: 2 additions & 2 deletions programming_guide/section-4/section-4b/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ build/scale.o: ${srcdir}/vector_scalar_mul.cc
build/final.xclbin: build/aie.mlir build/scale.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

build/trace.xclbin: build/aie_trace.mlir build/scale.o
mkdir -p ${@D}
cd ${@D} && aiecc.py --aie-generate-cdo --no-compile-host --xclbin-name=${@F} \
--no-xchesscc --no-xbridge --peano ${PEANO_INSTALL_DIR} \
--no-xchesscc --no-xbridge \
--aie-generate-npu --npu-insts-name=insts.txt $(<:%=../%)

${targetname}.exe: ${srcdir}/test.cpp
Expand Down

0 comments on commit 6f34e9b

Please sign in to comment.