Skip to content
Snippets Groups Projects
Commit 1cb265e6 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Lint: cbackend

parent 717f8aac
No related tags found
No related merge requests found
......@@ -178,7 +178,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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment