8298

Synthesizing Structured Traversals from Attribute Grammars

Leo A. Meyerovich, Matthew E. Torok, Eric Atkinson, Rastislav Bodik
University of California, Berkeley
University of California, Berkeley, 2012
@article{meyerovich2012synthesizing,

   title={Synthesizing Structured Traversals from Attribute Grammars},

   author={Meyerovich, L.A. and Torok, M.E. and Atkinson, E. and Bod{i}k, R.},

   year={2012}

}

Download Download (PDF)   View View   Source Source   

809

views

We examine how to automatically decompose a program into structured parallel traversals over trees. In our system, programs are declaratively specified as attribute grammars and parallel traversals are defined by a compiler designed to optimize them for both GPUs and multicore CPUs. Our synthesizer automatically finds a correct schedule of the attribute grammar as structured traversals. The combination of traversals impacts algorithm performance and software integration. We therefore introduce a declarative language of traversal schedules where programmers may sketch any part of the schedule and the synthesizer will fill in the rest. For the same motivations, the synthesizer autotunes over any underconstrained fragment and can answer debugging queries about if and how such sketches can be completed. This paper presents our synthesizer, and its support for finding, specifying, debugging, and autotuning over schedules of structured tree traversals. We evaluate our approach with two case studies. First, we present a parallel schedule for a large fragment of CSS and report a speedup of 3x on multicore hardware. Second, we created a GPU-accelerated visualization language for real-time interactive animations of over 100,000 nodes.
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] => 1472363006
            [oauth_signature_method] => HMAC-SHA1
            [oauth_token] => 301967669-yDz6MrfyJFFsH1DVvrw5Xb9phx2d0DSOFuLehBGh
            [oauth_timestamp] => 1472363006
            [oauth_version] => 1.0
            [cursor] => -1
            [screen_name] => hgpu
            [skip_status] => true
            [include_user_entities] => false
            [oauth_signature] => pRNzqRjk8H7vPIfHBcJTgtl75B8=
        )

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

HGPU group

1969 peoples are following HGPU @twitter

HGPU group © 2010-2016 hgpu.org

All rights belong to the respective authors

Contact us: