We present a new compiler framework for truly heterogeneous 3D stencil computation on gpu clusters. Our framework consists of a simple directive-based programming model and a tightly integrated source-to-source compil...
详细信息
We present a new compiler framework for truly heterogeneous 3D stencil computation on gpu clusters. Our framework consists of a simple directive-based programming model and a tightly integrated source-to-source compiler. Annotated with a small number of directives, sequential stencil C codes can be automatically parallelized for large-scale gpu clusters. The most distinctive feature of the compiler is its capability to generate hybrid MPICUDAOpenMP code that uses concurrent cpugpucomputing to unleash the full potential of powerful gpu clusters. The auto-generated hybrid codes hide the overhead of various data motion by overlapping them with computation. Test results on the Titan supercomputer and the Wilkes cluster show that auto-translated codes can achieve about 90 % of the performance of highly optimized handwritten codes, for both a simple stencil benchmark and a real-world application in cardiac modeling. The user-friendliness and performance of our domain-specific compiler framework allow harnessing the full power of gpu-accelerated supercomputing without painstaking coding effort.
暂无评论