summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-07-25 22:43:49 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-07-25 22:43:49 +0200
commit2582f0290a396305ee3b86fb544e999fd55fe323 (patch)
tree51f381cab79e365da5cd11b3ddbcb62e22daa618 /scripts
parent0252df731ab21d4acd5dfe53733e3c1bd0c18200 (diff)
Moved the XgemvFast and XgemvFastRot tuning database into a separate file
Diffstat (limited to 'scripts')
-rw-r--r--scripts/database/database/clblast.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/database/database/clblast.py b/scripts/database/database/clblast.py
index 9c9f7eb4..46b711cc 100644
--- a/scripts/database/database/clblast.py
+++ b/scripts/database/database/clblast.py
@@ -64,8 +64,9 @@ def get_cpp_footer():
def get_cpp_precision(family, precision):
"""Retrieves the C++ code for the start of a new precision"""
precision_string = precision_to_string(precision)
+ camelcase_name = family.title().replace("_", "")
return("\n\nconst Database::DatabaseEntry Database::%s%s = {\n \"%s\", Precision::k%s, {\n"
- % (family.title(), precision_string, family.title(), precision_string))
+ % (camelcase_name, precision_string, camelcase_name, precision_string))
def get_cpp_device_vendor(vendor, device_type):