Skip to content
Snippets Groups Projects

WIP: Astnodes for interpolation

1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -174,7 +174,8 @@ class CBackend:
raise NotImplementedError(self.__class__ + " does not support node of type " + str(type(node)))
def _print_KernelFunction(self, node):
function_arguments = ["%s %s" % (str(s.symbol.dtype), s.symbol.name) for s in node.get_parameters()]
parameters = node.get_parameters()
function_arguments = ["%s %s" % (str(s.symbol.dtype), s.symbol.name) for s in parameters]
launch_bounds = ""
if self.__class__ == 'cuda':
max_threads = node.indexing.max_threads_per_block()
Loading