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

Add __str__ representation for TextureDeclaration

parent 9f76ea1d
No related branches found
No related tags found
No related merge requests found
Pipeline #18916 passed
......@@ -395,6 +395,10 @@ class TextureDeclaration(Node):
def headers(self):
return ['"pycuda-helpers.hpp"']
def __str__(self):
from pystencils.backends.cuda_backend import CudaBackend
return CudaBackend()(self)
class TextureObject(TextureDeclaration):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment