From c035e7855da16ec1cbccf9655d1ebf9d632b687c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 22 May 2017 15:11:39 +0200 Subject: 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 --- lib/Kratos/DFADriver.pm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/Kratos/DFADriver.pm') 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; -- cgit v1.2.3