From a9509976c776c67d88fab0a1512cedbf28b5b309 Mon Sep 17 00:00:00 2001
From: Alessio Sclocco <a.sclocco@esciencecenter.nl>
Date: Tue, 20 Aug 2024 13:58:41 +0200
Subject: [PATCH] Rename two variables.

---
 kernel_tuner/utils/directives.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kernel_tuner/utils/directives.py b/kernel_tuner/utils/directives.py
index b9612abb..ded8c57f 100644
--- a/kernel_tuner/utils/directives.py
+++ b/kernel_tuner/utils/directives.py
@@ -3,7 +3,7 @@
 import numpy as np
 
 # Function templates
-acc_cpp_template = """
+cpp_template: str = """
 <!?PREPROCESSOR?!>
 <!?USER_DEFINES?!>
 #include <chrono>
@@ -15,7 +15,7 @@
 }
 """
 
-acc_f90_template = """
+f90_template: str = """
 <!?PREPROCESSOR?!>
 <!?USER_DEFINES?!>
 
@@ -560,13 +560,13 @@ def generate_directive_function(
     """Generate tunable function for one directive"""
 
     if is_cxx(langs.language):
-        code = acc_cpp_template
+        code = cpp_template
         body = start_timing_cxx(body)
         if data is not None:
             body = wrap_data(body + "\n", langs, data, preprocessor, user_dimensions)
         body = end_timing_cxx(body)
     elif is_fortran(langs.language):
-        code = acc_f90_template
+        code = f90_template
         body = wrap_timing(body, langs.language)
         if data is not None:
             body = wrap_data(body + "\n", langs, data, preprocessor, user_dimensions)