summaryrefslogtreecommitdiff
path: root/lib/Kratos/DFADriver.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-05-22 15:11:39 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-05-22 15:11:39 +0200
commitc035e7855da16ec1cbccf9655d1ebf9d632b687c (patch)
tree77543db8e0c232aba30acb60ec495d13690e3b90 /lib/Kratos/DFADriver.pm
parent01d09b5e812dca0578e9ae8523c7edc952a53316 (diff)
support benchmark values via attributes (for int) and slice variables (complex data)
Can be made less of a hack as soon as AC++ supports attributes with arguments
Diffstat (limited to 'lib/Kratos/DFADriver.pm')
-rw-r--r--lib/Kratos/DFADriver.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Kratos/DFADriver.pm b/lib/Kratos/DFADriver.pm
index c94101a..e06d577 100644
--- a/lib/Kratos/DFADriver.pm
+++ b/lib/Kratos/DFADriver.pm
@@ -928,8 +928,6 @@ DeclareThread(DriverEvalThread, driverEvalThread, 256);
EOF
- $buf .= $self->model->heap_code;
-
$buf .= <<"EOF";
void DriverEvalThread::action()
{
@@ -944,7 +942,6 @@ void DriverEvalThread::action()
EOF
- $buf .= $self->model->startup_code;
$buf .= "${instance}.startIteration(${num_runs});\n";
for my $run (@runs) {
@@ -980,7 +977,6 @@ EOF
$buf .= "\t\t${instance}.dumpLog();\n\n";
}
- $buf .= $self->model->shutdown_code;
$buf .= "${instance}.stopIteration(); }}\n";
return $buf;