Add CudaBackend, CudaSympyPrinter
- Stephan Seitz authored
+ 7
− 5
@@ -32,7 +34,7 @@ def highlight_cpp(code: str):
@@ -45,11 +47,11 @@ def show_code(ast: KernelFunction):
Add CudaBackend, CudaSympyPrinter to extract CUDA-specific code from CBackend, CustomSympyPrinter
Cuda built-ins are added to CudaSympyPrinter.known_functions
to use them as sympy.Function