Merge !9: Add CudaBackend, CudaSympyPrinter
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
Showing
- pystencils/astnodes.py 5 additions, 0 deletionspystencils/astnodes.py
- pystencils/backends/cbackend.py 27 additions, 28 deletionspystencils/backends/cbackend.py
- pystencils/backends/cuda_backend.py 89 additions, 0 deletionspystencils/backends/cuda_backend.py
- pystencils/backends/cuda_known_functions.txt 293 additions, 0 deletionspystencils/backends/cuda_known_functions.txt
- pystencils/cpu/cpujit.py 12 additions, 9 deletionspystencils/cpu/cpujit.py
- pystencils/display_utils.py 4 additions, 4 deletionspystencils/display_utils.py
- pystencils/gpucuda/cudajit.py 2 additions, 2 deletionspystencils/gpucuda/cudajit.py
- pystencils_tests/test_cuda_known_functions.py 68 additions, 0 deletionspystencils_tests/test_cuda_known_functions.py
- pystencils_tests/test_custom_backends.py 60 additions, 0 deletionspystencils_tests/test_custom_backends.py
Please register or sign in to comment