diff --git a/programming_examples/ml/resnet/layers_conv2_x/Makefile b/programming_examples/ml/resnet/layers_conv2_x/Makefile index c1551eb962..58cff28326 100755 --- a/programming_examples/ml/resnet/layers_conv2_x/Makefile +++ b/programming_examples/ml/resnet/layers_conv2_x/Makefile @@ -12,9 +12,9 @@ mlirFileName = aie all: build/conv2dk1_i8.o build/conv2dk1_skip_init.o build/conv2dk3.o build/conv2dk1_skip.o build/conv2dk1_ui8.o build/final.xclbin -build/${mlirFileName}.mlir: aie2.py +build/${mlirFileName}.mlir: aie.mlir mkdir -p ${@D} - python3 $< > $@ + cp $< $@ insts.txt: build/${mlirFileName}.mlir aiecc.py -v --aie-only-generate-npu --npu-insts-name=$@ $< diff --git a/programming_examples/ml/resnet/layers_conv2_x/test.py b/programming_examples/ml/resnet/layers_conv2_x/test.py index 48b45b99ae..85680ae9a7 100755 --- a/programming_examples/ml/resnet/layers_conv2_x/test.py +++ b/programming_examples/ml/resnet/layers_conv2_x/test.py @@ -442,7 +442,7 @@ def forward(self, x): # ------------------------------------------------------ for i in range(num_iter): start = time.time_ns() - aie_output = execute(app, ifm_mem_fmt, total_wts) * block_2_relu_3 + aie_output = execute(app, ifm_mem_fmt, total_wts3) * block_2_relu_3 stop = time.time_ns() if enable_trace: