Back To Schedule
Thursday, March 5 • 12:05 - 12:25
Fine-grained Seismic Algorithms: “Towards an Explicit RTM Stencil Computation Framework on KALRAY TURBOCARD2,” Yann Kalemkarian, Kalray Inc.

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!



RTM seismic imaging migration algorithms are very IO- and compute-intensive, and can benefit from using accelerators such as GPGPU or Manycores.
One of the main concern to the use of accelerators is the integration of legacy code with accelerators and the ability to leverage the standard programming models the industry has relied upon: code written in FORTRAN and parallelized with MPI and OpenMP-3 is not always easy to port to accelerators.

Most of the time the most computationally intensive part of algorithms such as RTM can be reduced to small parts of the code, mostly constituted of loops nests, called kernels. The problem then becomes how to move (or offload) those kernels to the accelerators and how to integrate the offloaded kernels with the rest of the application.
To achieve this, some approaches extends well-known programming models such as OpenMP-3 to support accelerators offloading such as OpenACC and OpenMP-4.

One of the shortcomings of this "#pragma based" approach is that it does not always allow to extract most of the performance of the accelerators, because of being too high-level.
For examples, explicit RTM schemes using stencil computation models are mostly IO-bound on current accelerators architectures, and could benefit from strategies such as cache-blocking or time-skewing, but those optimization strategies need to be explicitly described for a specific architecture.
These optimization can be hard to implement and defeat the main goals of those approaches which is to be accelerator-independent.

An alternative approach is to bring domain specific languages or libraries to allow the scientists to concentrate on the model itself while letting experts optimize for each platform.
Several tools and libraries exists for stencil computation such as ArrayLib, Pluto or Pochoir, but they are not targeting accelerators and they can be intrusive.

In order to facilitate explicit stencils computation such as explicit RTM schemes on the new TURBOCARD2 accelerator we decided to concentrate our efforts on a stencil library, which will abstract and optimize the domain decomposition and the data distribution on the accelerators directly from the host, while letting the programmers implement their kernels using their usual tools and models.


Thursday March 5, 2015 12:05 - 12:25 CST
BioScience Research Collaborative 6500 Main Street, Houston, Tx 77005

Attendees (0)