void problem_destroy(bench_problem *p) { BENCH_ASSERT(p); problem_free(p); bench_free0(p->k); bench_free0(p->pstring); bench_free(p); }
void tensor_destroy(bench_tensor *sz) { bench_free0(sz->dims); bench_free(sz); }