diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-15 11:53:50 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-15 11:53:50 +0200 |
commit | ae2aaee2e3f82f62a76fac7f1db9409ee9bb2ad6 (patch) | |
tree | 474afdf69f3e86f96ac53743b0e03ad4a507cd3b | |
parent | 91491e329c1116a805229cfa75db0516a1268e54 (diff) |
MLP: fix loop iteration joinpoint
-rw-r--r-- | MLP/Makefile | 4 | ||||
-rw-r--r-- | MLP/include/dfatool_host.ah | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/MLP/Makefile b/MLP/Makefile index 9d69752..1ce804d 100644 --- a/MLP/Makefile +++ b/MLP/Makefile @@ -43,10 +43,10 @@ bin/mlp_host: ${HOST_SOURCES} include bin ${QUIET}rm -f include/dfatool_host_dpu.ah bin/mlp_dpu: ${DPU_SOURCES} include bin - dpu-upmem-dpurte-clang ${DPU_FLAGS} -o $@ ${DPU_SOURCES} + ${QUIET}dpu-upmem-dpurte-clang ${DPU_FLAGS} -o $@ ${DPU_SOURCES} clean: - $(RM) -r $(BUILDDIR) + ${QUIET}$(RM) -r $(BUILDDIR) test: all bin/mlp_host -m 1024 -n 1024 diff --git a/MLP/include/dfatool_host.ah b/MLP/include/dfatool_host.ah index 8cc4db5..6ea4a18 100644 --- a/MLP/include/dfatool_host.ah +++ b/MLP/include/dfatool_host.ah @@ -21,8 +21,10 @@ aspect DfatoolHostTiming : public DfatoolHostDPUTiming { printf("[>>] MLP | n_dpus=%u n_rows=%u n_cols=%u\n", NR_DPUS, n_rows, n_cols); } - advice call("% binarySearch(...)") : after() { - printf("[--] MLP | n_dpus=%u n_rows=%u n_cols=%u\n", NR_DPUS, n_rows, n_cols); + advice call("% start(...)") : after() { + if (*(tjp->arg<1>()) == 1) { + printf("[--] MLP | n_dpus=%u n_rows=%u n_cols=%u\n", NR_DPUS, n_rows, n_cols); + } } advice execution("% main(...)") : after() { |