AtmoCL is an OpenCL port of the ASAM (All Scale Atmospheric Model). The code is mainly based on the OpenGL derivative ASAMgpu. While OpenGL as a base for the initial GPU model was the intuitive choice, the more recent OpenCL offers some neat advantages. Apart from allowing the same code to run on a variety of hosts including (in theory) heterogeneous environments of GPUs, CPUs and accelerators, we can profit from the 3D image class. Hence the mapping from 3D volume to 2D textures, that are the favourable memory format for GPUs, is done by the driver. Further, one can directly access any point of the volume through integer indices instead of the more cumbersome float coordinates, inherent to OpenGL.
git clone https://github.com/pSpitzner/AtmoCL.git git clone firstname.lastname@example.org:pSpitzner/AtmoCL.git