diff --git a/programming_examples/ml/bottleneck/Makefile b/programming_examples/ml/bottleneck/Makefile index a8ddc031f5..3c997a3f66 100755 --- a/programming_examples/ml/bottleneck/Makefile +++ b/programming_examples/ml/bottleneck/Makefile @@ -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 diff --git a/programming_examples/ml/conv2d/Makefile b/programming_examples/ml/conv2d/Makefile index 2b38334f8d..7057509ac0 100755 --- a/programming_examples/ml/conv2d/Makefile +++ b/programming_examples/ml/conv2d/Makefile @@ -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: diff --git a/programming_examples/ml/conv2d_fused_relu/Makefile b/programming_examples/ml/conv2d_fused_relu/Makefile index feb04eb6e1..91b28f7af5 100755 --- a/programming_examples/ml/conv2d_fused_relu/Makefile +++ b/programming_examples/ml/conv2d_fused_relu/Makefile @@ -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 diff --git a/programming_examples/vision/color_detect/Makefile b/programming_examples/vision/color_detect/Makefile index 8495870757..d4ced3a74a 100755 --- a/programming_examples/vision/color_detect/Makefile +++ b/programming_examples/vision/color_detect/Makefile @@ -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: diff --git a/programming_examples/vision/color_threshold/Makefile b/programming_examples/vision/color_threshold/Makefile index d21f36d814..56841203df 100644 --- a/programming_examples/vision/color_threshold/Makefile +++ b/programming_examples/vision/color_threshold/Makefile @@ -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: diff --git a/programming_examples/vision/edge_detect/Makefile b/programming_examples/vision/edge_detect/Makefile index f739de48f0..37106a9c07 100755 --- a/programming_examples/vision/edge_detect/Makefile +++ b/programming_examples/vision/edge_detect/Makefile @@ -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: diff --git a/programming_examples/vision/vision_passthrough/Makefile b/programming_examples/vision/vision_passthrough/Makefile index c6aeee8a54..874a89e8f9 100644 --- a/programming_examples/vision/vision_passthrough/Makefile +++ b/programming_examples/vision/vision_passthrough/Makefile @@ -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: