summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorkodonell <kodonell@users.noreply.github.com>2018-03-27 08:55:39 +1300
committerkodonell <kodonell@users.noreply.github.com>2018-03-27 08:55:39 +1300
commit173a7eb928a1bba0dffe3587cf34336065c9f4d0 (patch)
tree221e63539dd30181ff7405284c0e9f68b97867aa /scripts
parentd16f2d131706e1a6ed5202194fac857e3dda014d (diff)
parenta97d8a01970c49f2b21d952e841668da3db0184d (diff)
merged
Diffstat (limited to 'scripts')
-rw-r--r--scripts/benchmark/utils.py5
-rwxr-xr-xscripts/generator/generator.py4
2 files changed, 6 insertions, 3 deletions
diff --git a/scripts/benchmark/utils.py b/scripts/benchmark/utils.py
index 62e18de2..11aad805 100644
--- a/scripts/benchmark/utils.py
+++ b/scripts/benchmark/utils.py
@@ -62,5 +62,8 @@ def parse_results(csv_data):
results = [r for r in results]
for result in results:
for key in result:
- result[key] = float(result[key]) if "." in result[key] else int(result[key])
+ if "i" in result[key]:
+ continue
+ else:
+ result[key] = float(result[key]) if "." in result[key] else int(result[key])
return results
diff --git a/scripts/generator/generator.py b/scripts/generator/generator.py
index 02964c32..32420962 100755
--- a/scripts/generator/generator.py
+++ b/scripts/generator/generator.py
@@ -50,9 +50,9 @@ FILES = [
"/src/pyclblast/src/pyclblast.pyx"
]
HEADER_LINES = [123, 21, 127, 24, 29, 41, 29, 65, 32, 95, 21, 290]
-FOOTER_LINES = [41, 56, 112, 275, 6, 6, 6, 9, 2, 41, 55, 37]
+FOOTER_LINES = [98, 56, 112, 275, 6, 6, 6, 9, 2, 41, 55, 37]
HEADER_LINES_DOC = 0
-FOOTER_LINES_DOC = 158
+FOOTER_LINES_DOC = 232
# Different possibilities for requirements
ald_m = "The value of `a_ld` must be at least `m`."