From 82a44e0d64afb8818ea98d68dc08108885d503c2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 21 Oct 2019 18:42:24 +0200 Subject: Pull in basics from symlbm_playground It's time to extract the generator-part of my GPU LBM playground and turn it into a nice reusable library. The goal is to produce a framework that can be used to generate collision and streaming programs from symbolic descriptions. i.e. it should be possible to select a LB model, the desired boundary conditions as well as a data structure / streaming model and use this information to automatically generate matching OpenCL / CUDA / C++ programs. --- boltzgen/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 boltzgen/__init__.py (limited to 'boltzgen/__init__.py') diff --git a/boltzgen/__init__.py b/boltzgen/__init__.py new file mode 100644 index 0000000..8896c65 --- /dev/null +++ b/boltzgen/__init__.py @@ -0,0 +1,9 @@ +from lbm import LBM + +import lbm.model.D2Q9 as D2Q9 +import lbm.model.D3Q19 as D3Q19 +import lbm.model.D3Q27 as D3Q27 + +from geometry import Geometry + +from kernel.generator import source -- cgit v1.2.3