Skip to content

Commit 2978902

Browse files
committed
Last bug fixed for C++ code, example now working.
1 parent 33ae6b0 commit 2978902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_tuner/utils/directives.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def generate_directive_function(
564564
body = start_timing_cxx(body)
565565
if data is not None:
566566
body = wrap_data(body + "\n", langs, data, preprocessor, user_dimensions)
567-
body += end_timing_cxx(body)
567+
body = end_timing_cxx(body)
568568
elif is_fortran(langs.language):
569569
code = acc_f90_template
570570
body = wrap_timing(body, langs.language)

0 commit comments

Comments
 (0)