Souza, Samuel Xavier deRodrigues, Vitor Hugo Mickus2020-10-052020-10-052020-01-16RODRIGUES, Vitor Hugo Mickus. GPU support for automatic generation of finite-differences Stencil Kernels. 2020. 56f. Dissertação (Mestrado em Engenharia Elétrica e de Computação) - Centro de Tecnologia, Universidade Federal do Rio Grande do Norte, Natal, 2020.https://repositorio.ufrn.br/handle/123456789/30252The growth of data to be processed in the Oil & Gas industry matches the requirements imposed by evolving algorithms based on stencil computations, such as Full Waveform Inversion and Reverse Time Migration. Graphical processing units (GPUs) are an attractive architectural target for stencil computations because of its high degree of data parallelism. However, the rapid architectural and technological progression makes it difficult for even the most proficient programmers to remain up-to-date with the technological advances at a micro-architectural level. This work presents an extension for an open source transpiler named Devito, designed to produce highly optimized finite difference kernels for inversion methods. Embedding it with the Oxford Parallel Domain Specific Language (OP-DSL) enabled the automatic code generation for GPU architectures from a high-level representation. This work aims to enable users coding in a symbolic representation level to effortlessly get their implementations leveraged by the processing capacities of GPU architectures. The implemented backend is evaluated on a NVIDIA R GTX Titan Z, and on a NVIDIAR Tesla V100 in terms of execution time and in terms of operational intensity through the roofline model. A 3D acoustic isotropic wave propagation was used as experiment with stencil kernels for varying space-order discretization levels over grids with 2563 points. It achieves approximately 63% of V100’s peak performance and 24% of Titan Z’s peak performance. This study indicates that improving memory usage should be the most efficient strategy for leveraging the performance of the implemented solution on the evaluated architectures.Acesso AbertoLinguagem de domínio específicoDiferenças finitasEstêncilKernelArquiteturas paralelasGPUDevito e OPSGPU support for automatic generation of finite-differences Stencil KernelsmasterThesis