Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
Pipeline #16587 passed with stages
in 3 minutes and 32 seconds
......@@ -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):
......
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