Skip to content

Commit e65b7c1

Browse files
authored
Merge pull request #1030 from zeniheisser/master
fixed bug where precision wasn't passed properly from the run_card
2 parents 2ed8e65 + a12a27c commit e65b7c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/launch_plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def compile(self, *args, **opts):
3333
if 'cwd' in opts and os.path.basename(opts['cwd']) == 'Source':
3434
path = pjoin(opts['cwd'], 'make_opts')
3535
common_run_interface.CommonRunCmd.update_make_opts_full(path,
36-
{'FPTYPE': self.run_card['floating_type'] })
36+
{'override FPTYPE': self.run_card['floating_type'] })
3737
misc.sprint('FPTYPE checked')
3838
cudacpp_supported_backends = [ 'fortran', 'cuda', 'hip', 'cpp', 'cppnone', 'cppsse4', 'cppavx2', 'cpp512y', 'cpp512z', 'cppauto' ]
3939
if args and args[0][0] == 'madevent' and hasattr(self, 'run_card'):
@@ -76,7 +76,7 @@ def reset_makeopts(self, old_value, new_value, name):
7676
if not hasattr(self, 'path'):
7777
raise Exception
7878
if name == 'floating_type':
79-
common_run_interface.CommonRunCmd.update_make_opts_full({'FPTYPE': new_value})
79+
common_run_interface.CommonRunCmd.update_make_opts_full({'override FPTYPE': new_value})
8080
else:
8181
raise Exception
8282
Sourcedir = pjoin(os.path.dirname(os.path.dirname(self.path)), 'Source')

0 commit comments

Comments
 (0)