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

Add FrameworkIntegrationPrinter._print_TextureDeclaration

parent 3df5aea3
No related branches found
No related tags found
No related merge requests found
Pipeline #19334 failed
......@@ -25,6 +25,9 @@ class FrameworkIntegrationPrinter(pystencils.backends.cbackend.CBackend):
super_result = super()._print_KernelFunction(node)
return super_result.replace('FUNC_PREFIX ', '')
def _print_TextureDeclaration(self, node):
return str(node)
def _print_KernelFunction(self, node):
if node.backend == 'gpucuda':
prefix = '#define FUNC_PREFIX __global__\n'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment