summaryrefslogtreecommitdiff
path: root/scripts/generator/routine.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/generator/routine.py')
-rw-r--r--scripts/generator/routine.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generator/routine.py b/scripts/generator/routine.py
index df4dd019..60b9fcc5 100644
--- a/scripts/generator/routine.py
+++ b/scripts/generator/routine.py
@@ -326,9 +326,9 @@ class Routine():
return result
# As above, but now for C
- def RoutineHeaderC(self, flavour, spaces):
+ def RoutineHeaderC(self, flavour, spaces, extra_qualifier):
indent = " "*(spaces + self.Length())
- result = "StatusCode CLBlast"+flavour.name+self.name+"("
+ result = "StatusCode"+extra_qualifier+" CLBlast"+flavour.name+self.name+"("
result += (",\n"+indent).join([a for a in self.ArgumentsDef(flavour)])
result += ",\n"+indent+"cl_command_queue* queue, cl_event* event)"
return result