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

Make CUDA a language (not only a dialect :wink:)

parent dbc890ac
Branches
Tags
No related merge requests found
......@@ -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))
print(code)
assert "Not supported" in code
assert "Not supported in CUDA" in code
def main():
......
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