summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MLP/Makefile4
-rw-r--r--MLP/include/dfatool_host.ah6
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() {