A DSL for Stencil Codes
Clone or download
Permalink
Failed to load latest commit information.
aobench New work item functions: AnyDSL/runtime@71c0e74 Aug 29, 2018
bilateral_grid New work item functions: AnyDSL/runtime@71c0e74 Aug 29, 2018
common add simple square picture Nov 14, 2017
halide New vectorize signature: AnyDSL/runtime@f52daaa Aug 29, 2018
harris_corner Upstream runtime changes. Apr 10, 2018
image_sharpening New work item functions: AnyDSL/runtime@71c0e74 Aug 29, 2018
sorting_networks New work item functions: AnyDSL/runtime@71c0e74 Aug 29, 2018
test New work item functions: AnyDSL/runtime@71c0e74 Aug 29, 2018
vcycle New work item functions: AnyDSL/runtime@71c0e74 Aug 29, 2018
.gitignore use thorin cmake magic Jun 10, 2014
.gitmodules Restructuring: Oct 21, 2014
CMakeLists.txt Pump CMake minimal version to match runtime. Apr 23, 2018
README.md AMDGPU support. Jun 10, 2017
backend_amdgpu.impala Inline small wrappers & reuse range logic. Nov 14, 2017
backend_avx.impala New vectorize signature: AnyDSL/runtime@f52daaa Aug 29, 2018
backend_cpu.impala %s/int/i32/g Dec 5, 2017
backend_cuda.impala Inline small wrappers & reuse range logic. Nov 14, 2017
backend_nvvm.impala Inline small wrappers & reuse range logic. Nov 14, 2017
backend_opencl.impala Inline small wrappers & reuse range logic. Nov 14, 2017
bilateral.impala Add support for list of input images. Mar 19, 2018
gaussian.impala
jacobi.impala Add support for list of input images. Mar 19, 2018
mapping_acc.impala New work item functions: AnyDSL/runtime@71c0e74 Aug 29, 2018
mapping_cpu.impala Remove unused code. Mar 19, 2018
matmul.impala better termination condition for tile Nov 3, 2017
stencil_lib.impala Upstream runtime changes. Apr 10, 2018
utils.impala Cleanup. Mar 16, 2018

README.md

Stincilla

A DSL for Stencil Codes

Prerequisites

Stincilla requires a working AnyDSL installation. A script to build the impala frontend and thorin backend as well as the runtime component is provided by the anydsl metaproject (setup.sh). This script will also checkout Stincilla's sources and configure a build directory.

Building

The setup.sh configures Stincilla and sets all required paths. The backend for code generation will be set to cpu. This can be changed via CMake:

  • BACKEND : defines the backend to generate code for (supported values: cpu, avx, nvvm, cuda, opencl, amdgpu)

Example:

cd anydsl/stincilla/build
cmake -DBACKEND=nvvm .. # optional: switch to nvvm backend
make