Commit 8a651aa4 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Make CUDA a language (not only a dialect 😉)

parent dbc890ac
......@@ -58,6 +58,7 @@ class CudaBackend(CBackend):
class CudaSympyPrinter(CustomSympyPrinter):
language = "CUDA"
def __init__(self):
super(CudaSympyPrinter, self).__init__()
......@@ -55,7 +55,7 @@ def test_cuda_unknown():
ast = pystencils.create_kernel(assignments, 'gpu')
code = str(pystencils.show_code(ast))
assert "Not supported" in code
assert "Not supported in CUDA" in code
def main():
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment