changeset 869:90be9eacb471

Use correct preprocessing function.
author Martin Geisler <mg@daimi.au.dk>
date Fri, 01 Aug 2008 12:08:16 +0200
parents 893257d36460
children acd3b135a0ee
files apps/benchmark.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/apps/benchmark.py	Fri Aug 01 01:30:47 2008 +0200
+++ b/apps/benchmark.py	Fri Aug 01 12:08:16 2008 +0200
@@ -137,12 +137,12 @@
             print "Starting preprocessing"
             if self.operation == operator.mul:
                 program_desc = {
-                    ("generate_triples", (Zp,)):
+                    ("prss_generate_triple", (Zp,)):
                         [(i, 1, 0) for i in range(3 + 2*count, 3 + 3*count)]
                     }
             elif isinstance(self.rt, ActiveToft05Runtime):
                 program_desc = {
-                    ("generate_triples", (GF256,)):
+                    ("prss_generate_triple", (GF256,)):
                     sum([[(c, 64, i, 1, 1, 0) for i in range(2, 33)] +
                          [(c, 64, i, 3, 1, 0) for i in range(17, 33)]
                          for c in range(3 + 2*count, 3 + 3*count)],
@@ -150,7 +150,7 @@
                     }
             elif isinstance(self.rt, ActiveToft07Runtime):
                 program_desc = {
-                    ("generate_triples", (Zp,)):
+                    ("prss_generate_triple", (Zp,)):
                     sum([[(c, 2, 4, i, 2, 1, 0) for i in range(1, 33)] +
                          [(c, 2, 4, 99, 2, 1, 0)] +
                          [(c, 2, 4, i, 1, 0) for i in range(65, 98)]