lattice-boltzmann-epiphany.git
10 years agoMakefile: run everything internally with float
Sebastian [Fri, 25 Jul 2014 14:07:09 +0000 (14:07 +0000)]
Makefile: run everything internally with float

- treat floating point constants as single precision
  (this removes all dependencies for double)
- use internal.ldf linker script
  (puts libc functions in local memory)

speedup is immense. running code from external memory
is extremely slow, especially when all cores fight for it.

10 years agoinner borders
Sebastian [Mon, 30 Jun 2014 22:08:10 +0000 (22:08 +0000)]
inner borders

- implement inner borders, still wrap-around the outer borders
- shm_t uses CORES_X, CORES_Y instead of linearized numbers
- change index order to be [y][x] everywhere
- maximum size now 104x104 (using 26x26 blocks in a 4x4 grid)
- compile-time bombs for anything larger
- finally supports non-square block and grid sizes

10 years agoallow blocks of up to 24 KB (three banks)
Sebastian [Thu, 26 Jun 2014 01:44:39 +0000 (01:44 +0000)]
allow blocks of up to 24 KB (three banks)

10 years agoadd compile-time error for oversized grids
Sebastian [Thu, 26 Jun 2014 01:43:21 +0000 (01:43 +0000)]
add compile-time error for oversized grids

10 years agolb: D2Q9 working, single bank, single core
Sebastian [Wed, 25 Jun 2014 22:05:27 +0000 (22:05 +0000)]
lb: D2Q9 working, single bank, single core

limited to 10x10 (double precision) or 15x15 (single precision)

10 years agoinitial commit
Sebastian [Tue, 17 Jun 2014 16:17:28 +0000 (16:17 +0000)]
initial commit