{'fraction_non_alphanumeric': 0.024193548387096774, 'fraction_numerical': 0.0, 'mean_word_length': 5.365384615384615, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Optimizations Applied by the ExaStencils Code Generator

ExaStencils is a DFG-funded project with the charter to provide a dedicated infrastructure for the domain-specific engineering and optimization of multigrid stencil codes. The vision is that application scientists provide an abstract, mathematical formulation of the problem that should be solved by formulating, e.g., a partial differential equation or an energy functional which should be minimized. Another input to the infrastructure is the description of target platform which includes both hardware, e.g., the type of CPU, memory hierarchy or accelerators, and software, e.g., the compiler or the MPI implementation. With these inputs, the infrastructure will automatically generate target code which is especially tuned for the application and platform at hand. A central feature of such an infrastructure is its code generator. We describe the code transformations and optimizations performed by the ExaStencils code generator.