Random number generation support for pystencils
- counter-based philox RNG: counter/key is filled with cell coordinate and optional external parameters like block position and time step - works on CPU and GPU - on CPU only for non-vectorized versions - introduced more flexible "CustomCodeNode" that can inject backend-specific hand-written code
Showing
- jinja_filters.py 5 additions, 4 deletionsjinja_filters.py
- templates/GpuPackInfo.tmpl.cpp 2 additions, 2 deletionstemplates/GpuPackInfo.tmpl.cpp
- templates/Sweep.tmpl.cpp 1 addition, 1 deletiontemplates/Sweep.tmpl.cpp
- templates/SweepInnerOuter.tmpl.cpp 1 addition, 1 deletiontemplates/SweepInnerOuter.tmpl.cpp
Please register or sign in to comment