Skip to content
Snippets Groups Projects
Commit 77e944c2 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixed CUDA build in Makefile generated by tnl-quickstart.

parent adae7be2
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ with open( definitions['problemBaseName']+".h", 'w') as file: ...@@ -40,7 +40,7 @@ with open( definitions['problemBaseName']+".h", 'w') as file:
with open( TNL.Config.tnl_install_prefix+"/share/tnl-" + TNL.Config.tnl_version + "/main.cu.in", 'r') as ftemp: with open( TNL.Config.tnl_install_prefix+"/share/tnl-" + TNL.Config.tnl_version + "/main.cu.in", 'r') as ftemp:
templateString = ftemp.read() templateString = ftemp.read()
with open( definitions['problemBaseName']+".cu", 'w') as file: with open( definitions['problemBaseName']+"-cuda.cu", 'w') as file:
file.write( templateString.format(**definitions ) ) file.write( templateString.format(**definitions ) )
with open( TNL.Config.tnl_install_prefix+"/share/tnl-" + TNL.Config.tnl_version + "/main.cpp.in", 'r') as ftemp: with open( TNL.Config.tnl_install_prefix+"/share/tnl-" + TNL.Config.tnl_version + "/main.cpp.in", 'r') as ftemp:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment