summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VA/host/app.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/VA/host/app.c b/VA/host/app.c
index 9c98588..cc8e180 100644
--- a/VA/host/app.c
+++ b/VA/host/app.c
@@ -58,6 +58,7 @@ int main(int argc, char **argv) {
struct dpu_set_t dpu_set, dpu;
uint32_t nr_of_dpus;
+ uint32_t nr_of_ranks;
#if ENERGY
struct dpu_probe_t probe;
@@ -77,6 +78,7 @@ int main(int argc, char **argv) {
#if !WITH_LOAD_OVERHEAD
DPU_ASSERT(dpu_load(dpu_set, DPU_BINARY, NULL));
DPU_ASSERT(dpu_get_nr_dpus(dpu_set, &nr_of_dpus));
+ DPU_ASSERT(dpu_get_nr_ranks(dpu_set, &nr_of_ranks));
assert(nr_of_dpus == NR_DPUS);
timer.time[1] = 0; // load
#endif
@@ -125,6 +127,7 @@ int main(int argc, char **argv) {
stop(&timer, 1);
}
DPU_ASSERT(dpu_get_nr_dpus(dpu_set, &nr_of_dpus));
+ DPU_ASSERT(dpu_get_nr_ranks(dpu_set, &nr_of_ranks));
assert(nr_of_dpus == NR_DPUS);
#endif