Skip to content
Snippets Groups Projects
Commit b321d363 authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'TextureDeclaration.__str__' into 'master'

Add __str__ representation for TextureDeclaration

See merge request !74
parents 49ea0d3d 86d4df03
No related branches found
No related tags found
1 merge request!74Add __str__ representation for TextureDeclaration
Pipeline #19042 canceled
......@@ -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