From 77e944c2107cd43c52c5fc54b3203daab84602ae Mon Sep 17 00:00:00 2001 From: Tomas Oberhuber <tomas.oberhuber@fjfi.cvut.cz> Date: Wed, 12 Apr 2017 21:51:07 +0200 Subject: [PATCH] Fixed CUDA build in Makefile generated by tnl-quickstart. --- src/Tools/tnl-quickstart/tnl-quickstart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/tnl-quickstart/tnl-quickstart.py b/src/Tools/tnl-quickstart/tnl-quickstart.py index 4242a2c085..32676480a4 100644 --- a/src/Tools/tnl-quickstart/tnl-quickstart.py +++ b/src/Tools/tnl-quickstart/tnl-quickstart.py @@ -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: 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 ) ) with open( TNL.Config.tnl_install_prefix+"/share/tnl-" + TNL.Config.tnl_version + "/main.cpp.in", 'r') as ftemp: -- GitLab