diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-14 16:03:27 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-14 16:09:20 +0200 |
commit | 55f2653aafa38ea1d53a43c104185218e0dad1f1 (patch) | |
tree | 9e550665102e5543be8186b259586a69e7c8b83f /TS/include | |
parent | c2819a30f6914267e5792b68ca8a500f0e06ce79 (diff) |
Use benchmark-specific input descriptions rather than opaque "#elements"
Diffstat (limited to 'TS/include')
-rw-r--r-- | TS/include/dfatool_host.ah | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/TS/include/dfatool_host.ah b/TS/include/dfatool_host.ah index 2a45918..4192c73 100644 --- a/TS/include/dfatool_host.ah +++ b/TS/include/dfatool_host.ah @@ -5,21 +5,27 @@ aspect DfatoolHostTiming : public DfatoolHostDPUTiming { + unsigned long ts_size, query_length; + unsigned int element_size; + + virtual int getKernel() { return kernel; } + DfatoolHostTiming() { element_size = sizeof(DTYPE); } advice call("% input_params(...)") : after() { Params* p = tjp->result(); - input_size = p->input_size_n; - printf("[>>] TS | n_dpus=%u n_elements=%lu\n", NR_DPUS, input_size); + ts_size = p->input_size_n; + query_length = p->input_size_m; + printf("[>>] TS | n_dpus=%u n_elements_ts=%lu n_elements_query=%lu\n", NR_DPUS, ts_size, query_length); } advice call("% streamp(...)") : before() { - printf("[--] TS | n_dpus=%u n_elements=%lu\n", NR_DPUS, input_size); + printf("[--] TS | n_dpus=%u n_elements_ts=%lu n_elements_query=%lu\n", NR_DPUS, ts_size, query_length); } advice execution("% main(...)") : after() { - printf("[<<] TS | n_dpus=%u n_elements=%lu\n", NR_DPUS, input_size); + printf("[<<] TS | n_dpus=%u n_elements_ts=%lu n_elements_query=%lu\n", NR_DPUS, ts_size, query_length); } }; |