Skip to content

Commit

Permalink
Add missing makefile target deps to run_py in ml; remove extra makefi…
Browse files Browse the repository at this point in the history
…le target deps in ml/vision
  • Loading branch information
hunhoffe committed Oct 30, 2024
1 parent 516afda commit 0b74d37
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion programming_examples/ml/bottleneck/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ clean:
chess* *.o insts.txt \
*.log aie_partition.json *.bin BOOT.BIN _x test.exe

run_py:
run_py: build/final.xclbin
${powershell} python3 ${srcdir}/test.py -x build/final.xclbin -i build/insts.txt -k MLIR_AIE
2 changes: 1 addition & 1 deletion programming_examples/ml/conv2d/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ build/final.xclbin: build/${mlirFileName}.mlir build/conv2dk1_i8.o
--no-xchesscc --no-xbridge \
--xclbin-name=${@F} --npu-insts-name=insts.txt $(<:%=../%)

run_py: build/final.xclbin build/insts.txt
run_py: build/final.xclbin
${powershell} python3 ${srcdir}/test.py -x build/final.xclbin -i build/insts.txt -k MLIR_AIE

clean:
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 @@ -38,5 +38,5 @@ clean:
chess* *.o insts.txt \
*.log aie_partition.json *.bin BOOT.BIN _x test.exe

run_py:
run_py: build/final.xclbin
${powershell} python3 ${srcdir}/test.py -x build/final.xclbin -i build/insts.txt -k MLIR_AIE
2 changes: 1 addition & 1 deletion programming_examples/vision/color_detect/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ else
cp _build/${targetname} $@
endif

run: ${targetname}.exe build/final_${COLORDETECT_WIDTH}.xclbin build/insts.txt
run: ${targetname}.exe build/final_${COLORDETECT_WIDTH}.xclbin
${powershell} ./$< -x build/final_${COLORDETECT_WIDTH}.xclbin -i build/insts.txt -k MLIR_AIE

clean:
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 @@ -49,7 +49,7 @@ else
cp _build/${targetname} $@
endif

run: ${targetname}.exe build/final_${COLORTHRESHOLD_WIDTH}.xclbin build/insts.txt
run: ${targetname}.exe build/final_${COLORTHRESHOLD_WIDTH}.xclbin
${powershell} ./$< -x build/final_${COLORTHRESHOLD_WIDTH}.xclbin -i build/insts.txt -k MLIR_AIE

clean:
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 @@ -56,7 +56,7 @@ else
cp _build/${targetname} $@
endif

run: ${targetname}.exe build/final_${EDGEDETECT_WIDTH}.xclbin build/insts.txt
run: ${targetname}.exe build/final_${EDGEDETECT_WIDTH}.xclbin
${powershell} ./$< -x build/final_${EDGEDETECT_WIDTH}.xclbin -i build/insts.txt -k MLIR_AIE

clean:
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 @@ -49,7 +49,7 @@ else
cp _build/${targetname} $@
endif

run: ${targetname}.exe build/final_${PASSTHROUGH_WIDTH}.xclbin build/insts.txt
run: ${targetname}.exe build/final_${PASSTHROUGH_WIDTH}.xclbin
${powershell} ./$< -x build/final_${PASSTHROUGH_WIDTH}.xclbin -i build/insts.txt -k MLIR_AIE

clean:
Expand Down

0 comments on commit 0b74d37

Please sign in to comment.