TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(JEtEmgxQHoYZKLkY)
 
(588 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://maks5591.freewhost.com/ recipe for tortilla soup
+
=== Introduction ===
http://maks5591.freewhost.com/4/ watch heroes episodes online
+
The IP-TCE library is a set of C functions designed to provide
http://toli4668.700megs.com/ 8800gt 3dmark vantage
+
high-performance array index permutation (index sorting), an important
http://toli4668.700megs.com/6/ orbit downloader how to
+
group of kernels used in many scientific applications and compilation
http://evil6166.freehostplace.com/ occupational safety and health administration
+
techniques. The generation of the library code combines analytical and
http://evil6166.freehostplace.com/1/ dry hair conditioner
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://evil6633.110mb.com/ watch futurama for free
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://evil6633.110mb.com/1/ girls with blonde hair
+
with challenges such as high indexing costs and short dimensions, we employ
http://evil3636.hostshield.com/ baby boys names
+
optimizations such as restricting code versions, using one-level tiling and
http://evil3636.hostshield.com/6/ park city hotels utah
+
generating indexing code to achieve high performance without code size
http://evil3636.my3gb.com/ new kitchen counter
+
explosion.
http://evil3636.my3gb.com/5/ trade associations washington
+
 
http://maks3729.phreesite.com/ chicken invaders 3 trainer
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://maks3729.phreesite.com/4/ definition of popular culture
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://maks5591.freewhost.com/florentine-soup-recipe.html jalapeno soup recipe
+
have more complicated optimizations than the others, the library employs SSE2
http://maks5591.freewhost.com/4/watch-heroes-onlien.html watch forensic heroes 2
+
instructions when the fastest varying dimensions of source and destination
http://toli4668.700megs.com/3dmark-vantage-basic.html 3dmark vantage windows xp
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://toli4668.700megs.com/6/orbit-downloader-version.html orbit flash downloader
+
is chosen. The user should be able to modify our code to get IP code working for
http://evil6166.freehostplace.com/health-administration-program.html phd in health administration
+
other dimension numbers.
http://evil6166.freehostplace.com/1/salon-hair-conditioner.html pantene hair conditioner
+
 
http://evil6633.110mb.com/watch-futurama-episodes-online-free.html watch all futurama episodes online
+
The IP-TCE library implements two variants of index permutation. One variant
http://evil6633.110mb.com/1/blonde-hair-on-top.html blonde hair toner
+
implements B = factor * Permute(A, permutation) and the other one is the
http://evil3636.hostshield.com/black-ghetto-baby-names.html exotic baby names
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://evil3636.hostshield.com/6/ski-rental-park-city-utah.html stein eriksen lodge park city utah
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://evil3636.my3gb.com/replace-kitchen-counter.html kitchen counter support
+
been able to plug our code into nwchem/tce and obtained overall performance
http://evil3636.my3gb.com/5/texas-trade-associations.html finance trade associations
+
improvements ranging from 74% to 253% with different methods and inputs.
http://maks3729.phreesite.com/spiderman-3-pc-trainer.html super collapse 3 trainer
+
 
http://maks3729.phreesite.com/4/popular-culture-review.html globalization and popular culture
+
=== Compilation ===
http://maks5591.freewhost.com/lentel-soup-recipe.html carrabas lentil soup recipe
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://maks5591.freewhost.com/4/heroes-22-watch.html at watch heroes
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://toli4668.700megs.com/3dmark-vantage-for-xp.html 3dmark vantage special offer
+
compilers such as pgcc is used, the user is responsible for finding the
http://toli4668.700megs.com/6/orbit-downloader-for-linux.html from orbit downloader
+
alignment directives used by the compiler and changing the library code
http://evil6166.freehostplace.com/health-administration-certificate.html health services administration course
+
correspondingly.
http://evil6166.freehostplace.com/1/super-hair-conditioner.html food hair conditioner
+
 
http://evil6633.110mb.com/watch-futurama-the-movie-online.html watch futurama videos
+
=== Library Usage ===
http://evil6633.110mb.com/1/blonde-hair-die.html pretty blonde hair
+
The interface of the IP-TCE library is compatible with the index permutation
http://evil3636.hostshield.com/trendy-baby-names.html cool baby name
+
routines in nwchem/tce and is mainly for Fortran used. For example,
http://evil3636.hostshield.com/6/redstone-cinema-park-city-utah.html art gallery park city utah
+
the prototype of the 4-D non-accumulative permutation routine is:
http://evil3636.my3gb.com/mobile-kitchen-counter.html picture of kitchen counter
+
 
http://evil3636.my3gb.com/5/packaging-trade-associations.html alliance of trade associations
+
                  tce_sort_4_(double* unsorted,double* sorted,
http://maks3729.phreesite.com/age-of-empires-3-111-trainer.html cp trainer 3 ids
+
                              int* a_in, int* b_in, int* c_in, int* d_in,
http://maks3729.phreesite.com/4/john-fiske-understanding-popular-culture.html popular culture no longer
+
                              int* i_in, int* j_in, int* k_in, int* l_in,
http://maks5591.freewhost.com/asperagus-soup-recipe.html noodel soup recipe
+
                              double* factor_in)
http://maks5591.freewhost.com/4/heroes-kindred-watch-for.html heroes kindred watch for free
+
 
http://toli4668.700megs.com/3dmark-vantage-navigation.html low 3dmark vantage
+
Where all the arguments are pointers and function names are in the lowercase
http://toli4668.700megs.com/6/orbit-downloader-wiki.html orbit downloader wine
+
and end with "_". If needed,  the user can write a wrapper or directly modify
http://evil6166.freehostplace.com/programs-in-health-administration.html florida health administration
+
the function (which is actually a wrapper to the SIMD and scalar IP functions)
http://evil6166.freehostplace.com/1/hemp-hair-conditioner.html serious hair conditioner
+
to obtain a desired interface.
http://evil6633.110mb.com/watch-futurama-anthology-of-interest.html watch new futurama episodes
+
 
http://evil6633.110mb.com/1/blonde-hair-dyes.html miley cyrus blonde hair
+
=== Contact Info ===
http://evil3636.hostshield.com/great-baby-names.html baby middle name finder
+
Please contact Qingda Lu(luq@cse.ohio-state.edu) for questions.
http://evil3636.hostshield.com/6/park-city-utah-mountain.html murray city park utah
+
 
http://evil3636.my3gb.com/kitchen-counter-corbels.html redoing kitchen counter tops
+
=== Reference ===
http://evil3636.my3gb.com/5/consulting-trade-associations.html in trade associations
+
[1] Qingda Lu, Sriram Krishnamoorthy, P. Sadayappan: Combining analytical and
http://maks3729.phreesite.com/3-d-trainer.html 3 multiplayer trainer
+
empirical approaches in tuning matrix transposition. 15th International
http://maks3729.phreesite.com/4/current-popular-culture.html studies in latin american popular culture
+
Conference on Parallel Architecture and Compilation Techniques(PACT 2006):233-242
http://maks5591.freewhost.com/recipe-for-asparagas-soup.html mandolas sicilian chicken soup recipe
+
http://maks5591.freewhost.com/4/watch-heroes-free.html want to watch heroes
+
http://toli4668.700megs.com/3dmark-video.html 3dmark 2001
+
http://toli4668.700megs.com/6/to-use-orbit-downloader-with.html i use orbit downloader
+
http://evil6166.freehostplace.com/health-and-administration.html masters in health administration in
+
http://evil6166.freehostplace.com/1/nounou-hair-conditioner.html nounou hair conditioner
+
http://evil6633.110mb.com/watch-futurama-onine.html watch futurama the best
+
http://evil6633.110mb.com/1/dirty-blonde-hair-styles.html brown hair blonde hair
+
http://evil3636.hostshield.com/american-baby-name.html greek baby name
+
http://evil3636.hostshield.com/6/park-city-utah-school.html storage park city utah
+
http://evil3636.my3gb.com/5/pennsylvania-trade-associations.html service trade associations
+
http://maks3729.phreesite.com/3-v1-4-trainer.html plus 3 trainer
+
http://maks3729.phreesite.com/4/latino-a-popular-culture.html popular culture products
+

Latest revision as of 23:34, 20 February 2009

Contents

Introduction

The IP-TCE library is a set of C functions designed to provide high-performance array index permutation (index sorting), an important group of kernels used in many scientific applications and compilation techniques. The generation of the library code combines analytical and empirical approaches. The details of how to generate the efficient 2-D IP (Matrix Transposition) code can be found in [1]. For high-dimensional arrays, with challenges such as high indexing costs and short dimensions, we employ optimizations such as restricting code versions, using one-level tiling and generating indexing code to achieve high performance without code size explosion.

The source code we provide does index permutation on 2-D,4-D and 6-D 64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that have more complicated optimizations than the others, the library employs SSE2 instructions when the fastest varying dimensions of source and destination arrays are multiples of vector sizes in elements, otherwise a scalar version is chosen. The user should be able to modify our code to get IP code working for other dimension numbers.

The IP-TCE library implements two variants of index permutation. One variant implements B = factor * Permute(A, permutation) and the other one is the accumulative version B = B + factor * Permute(A, permutation). Doing so makes our code compatible with the index permutation routines in nwchem/tce. We have been able to plug our code into nwchem/tce and obtained overall performance improvements ranging from 74% to 253% with different methods and inputs.

Compilation

The library code can be compiled by either the Intel C compiler or the GNU C compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other compilers such as pgcc is used, the user is responsible for finding the alignment directives used by the compiler and changing the library code correspondingly.

Library Usage

The interface of the IP-TCE library is compatible with the index permutation routines in nwchem/tce and is mainly for Fortran used. For example, the prototype of the 4-D non-accumulative permutation routine is:

                  tce_sort_4_(double* unsorted,double* sorted,
                              int* a_in, int* b_in, int* c_in, int* d_in,
                              int* i_in, int* j_in, int* k_in, int* l_in,
                              double* factor_in)

Where all the arguments are pointers and function names are in the lowercase and end with "_". If needed, the user can write a wrapper or directly modify the function (which is actually a wrapper to the SIMD and scalar IP functions) to obtain a desired interface.

Contact Info

Please contact Qingda Lu(luq@cse.ohio-state.edu) for questions.

Reference

[1] Qingda Lu, Sriram Krishnamoorthy, P. Sadayappan: Combining analytical and empirical approaches in tuning matrix transposition. 15th International Conference on Parallel Architecture and Compilation Techniques(PACT 2006):233-242