16459

DawnCC: a Source-to-Source Automatic Parallelizer of C and C++ Programs

Breno Campos Ferreira Guimaraes, Gleison Souza Diniz Mendonca, Fernando Magno Quintao Pereira
Departamento de Ciencia da Computacao – UFMG, Av. Antonio Carlos, 6627 – 31.270-010 – Belo Horizonte – MG – Brazil
CBSoft Tools, 2016
@article{guimaraes2016dawncc,

   title={DawnCC: a Source-to-Source Automatic Parallelizer of C and C++ Programs},

   author={Guimaraes, Breno Campos Ferreira and Mendonca, Gleison Souza Diniz and Pereira, Fernando Magno Quintao},

   year={2016}

}

Download Download (PDF)   View View   Source Source   

288

views

Dedicated graphics processing chips have become a standard component in most modern systems, making their powerful parallel computing capabilities more accessible to developers. Amongst the tools created to aid programmers in the task of parallelizing applications, directive-based standards are some of the most widely used. These standards, such as OpenACC and OpenMP, facilitate the conversion of sequential programs into parallel ones with minimum human intervention. However, inserting pragmas into production code is a difficult and error-prone task, often requiring familiarity with the target program. This difficulty restricts the ability of developers to annotate code that they have not written themselves. This paper describes DawnCC, a tool that solves this problem. DawnCC is a source-to-source compiler module that automatically annotates sequential C code with OpenACC or OpenMP directives; thus, effectively producing parallel programs out of sequential semantics. DawnCC is equipped with a number of static program analyses that: (i) infer bounds of memory regions referenced in source code to copy them between host and device; and (ii) discover parallel loops in sequential code. To validate its effectiveness, we have used DawnCC to automatically annotate the benchmarks in the Polybench/GPU suite with proper OpenACC directives. These annotations let us parallelize these benchmarks, leading to speedups of up to 78x.
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

* * *

* * *

TwitterAPIExchange Object
(
    [oauth_access_token:TwitterAPIExchange:private] => 301967669-yDz6MrfyJFFsH1DVvrw5Xb9phx2d0DSOFuLehBGh
    [oauth_access_token_secret:TwitterAPIExchange:private] => o29ji3VLVmB6jASMqY8G7QZDCrdFmoTvCDNNUlb7s
    [consumer_key:TwitterAPIExchange:private] => TdQb63pho0ak9VevwMWpEgXAE
    [consumer_secret:TwitterAPIExchange:private] => Uq4rWz7nUnH1y6ab6uQ9xMk0KLcDrmckneEMdlq6G5E0jlQCFx
    [postfields:TwitterAPIExchange:private] => 
    [getfield:TwitterAPIExchange:private] => ?cursor=-1&screen_name=hgpu&skip_status=true&include_user_entities=false
    [oauth:protected] => Array
        (
            [oauth_consumer_key] => TdQb63pho0ak9VevwMWpEgXAE
            [oauth_nonce] => 1475064071
            [oauth_signature_method] => HMAC-SHA1
            [oauth_token] => 301967669-yDz6MrfyJFFsH1DVvrw5Xb9phx2d0DSOFuLehBGh
            [oauth_timestamp] => 1475064071
            [oauth_version] => 1.0
            [cursor] => -1
            [screen_name] => hgpu
            [skip_status] => true
            [include_user_entities] => false
            [oauth_signature] => egT4DuSIoFACTnGq63qbNmI2hc8=
        )

    [url] => https://api.twitter.com/1.1/users/show.json
)
Follow us on Facebook
Follow us on Twitter

HGPU group

2000 peoples are following HGPU @twitter

HGPU group © 2010-2016 hgpu.org

All rights belong to the respective authors

Contact us: