forked from gentryx/libflatarray
-
Notifications
You must be signed in to change notification settings - Fork 10
/
README
45 lines (34 loc) · 1.39 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
ABOUT
=====
LibFlatArray acts as a highly efficient multi-dimensional array of
arbitrary objects (array of structs, AoS), but really uses a struct of
arrays (SoA) memory layout. It's great for writing vectorized code and
its lightning-fast iterators give you access to neighboring elements
with zero address generation overhead.
Use cases include:
- computer simulations (e.g. stencil codes such as Lattice Boltzmann Methods)
- image processing (e.g. Gaussian filters)
- numerical methods (e.g. multiplication of complex matrices)
The library is written in C++ and uses templates to shift the burden
of address computation from runtime to compile time. It shares some
infrastructure with its parent project LibGeoDecomp.
Further information:
- homepage: http://www.libgeodecomp.org/libflatarray.html
- mailing list: http://www.libgeodecomp.org/mailing_lists.html
- source repository: https://bitbucket.org/gentryx/libflatarray
- contributors: see file "AUTHORS"
DEPENDENCIES
============
- C++ compiler (min. C++98, tested with GCC's g++, Clang's clang++,
and Intel's icpc)
- CMake (min. 2.8.10)
- build tool supported by CMake (e.g. make, ninja)
BUILDING
========
For compiling LibFlatArray you'll need CMake (http://www.cmake.org)
installed. We recommend an out-of-source build:
BUILD_DIR=build/`uname -ms | sed s/\ /-/g`
mkdir -p $BUILD_DIR
cd $BUILD_DIR
cmake ../../
make