Commit 3b291b02 authored by Martin Bauer's avatar Martin Bauer
Browse files

Bugfix: CUDA known functions have been overwritten

functions like absolute values could not be used in CUDA backend since
known_functions was replaced instead of updated
parent ba23a772
......@@ -59,7 +59,7 @@ class CudaSympyPrinter(CustomSympyPrinter):
def __init__(self):
super(CudaSympyPrinter, self).__init__()
self.known_functions = CUDA_KNOWN_FUNCTIONS
self.known_functions.update(CUDA_KNOWN_FUNCTIONS)
def _print_TextureAccess(self, node):
......
Markdown is supported
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