Skip to content
Snippets Groups Projects

Add own implementation for printing an unknown function

Merged Stephan Seitz requested to merge seitz/pystencils:function-call-printing into master
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
@@ -32,8 +32,7 @@ def test_cuda_but_not_c():
})
ast = pystencils.create_kernel(assignments, 'cpu')
code = str(pystencils.show_code(ast))
assert "Not supported" in code
print(pystencils.show_code(ast))
def test_cuda_unknown():
@@ -46,4 +45,3 @@ def test_cuda_unknown():
ast = pystencils.create_kernel(assignments, 'gpu')
code = str(pystencils.show_code(ast))
print(code)
assert "Not supported in CUDA" in code
Loading