summaryrefslogtreecommitdiff
path: root/scripts/generator
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-06-18 20:20:13 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-06-18 20:20:13 +0200
commitf726fbdc9fef937fbe32222f0e66aac8d7e2678c (patch)
treecb62cc877ea239052fb1882f7bf327aace3e7776 /scripts/generator
parentbacb5d2bb2ea7b141034878090aca850db8f9d00 (diff)
Moved all headers into the source tree, changed headers to .hpp extension
Diffstat (limited to 'scripts/generator')
-rw-r--r--scripts/generator/generator.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/generator/generator.py b/scripts/generator/generator.py
index c597c556..1df4c8e6 100644
--- a/scripts/generator/generator.py
+++ b/scripts/generator/generator.py
@@ -382,8 +382,8 @@ files = [
path_clblast+"/src/clblast.cc",
path_clblast+"/include/clblast_c.h",
path_clblast+"/src/clblast_c.cc",
- path_clblast+"/test/wrapper_clblas.h",
- path_clblast+"/test/wrapper_cblas.h",
+ path_clblast+"/test/wrapper_clblas.hpp",
+ path_clblast+"/test/wrapper_cblas.hpp",
]
header_lines = [84, 74, 93, 22, 29, 41]
footer_lines = [17, 75, 19, 14, 6, 6]
@@ -436,8 +436,8 @@ for level in [1,2,3,4]:
filename = path_clblast+"/test/correctness/routines/level"+levelnames[level-1]+"/x"+routine.name+".cc"
with open(filename, "w") as f:
body = ""
- body += "#include \"correctness/testblas.h\"\n"
- body += "#include \"routines/level"+levelnames[level-1]+"/x"+routine.name+".h\"\n\n"
+ body += "#include \"test/correctness/testblas.hpp\"\n"
+ body += "#include \"test/routines/level"+levelnames[level-1]+"/x"+routine.name+".hpp\"\n\n"
body += "// Shortcuts to the clblast namespace\n"
body += "using float2 = clblast::float2;\n"
body += "using double2 = clblast::double2;\n\n"
@@ -462,8 +462,8 @@ for level in [1,2,3,4]:
filename = path_clblast+"/test/performance/routines/level"+levelnames[level-1]+"/x"+routine.name+".cc"
with open(filename, "w") as f:
body = ""
- body += "#include \"performance/client.h\"\n"
- body += "#include \"routines/level"+levelnames[level-1]+"/x"+routine.name+".h\"\n\n"
+ body += "#include \"test/performance/client.hpp\"\n"
+ body += "#include \"test/routines/level"+levelnames[level-1]+"/x"+routine.name+".hpp\"\n\n"
body += "// Shortcuts to the clblast namespace\n"
body += "using float2 = clblast::float2;\n"
body += "using double2 = clblast::double2;\n\n"