return NULL;
}
- if (!bench->setSize(values["size"].int_value)) {
+ if (!bench->setSize(size)) {
printf("Failed to allocate buffers for benchmark.\n");
return NULL;
}
if (!(*it)->canRun()) {
continue;
}
- if (!(*it)->setSize(values["num_warm_loops"].int_value)) {
+ if (!(*it)->setSize(values["size"].int_value)) {
printf("Failed creating buffer for bandwidth test.\n");
return false;
}