TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(yudIZbmwfT)
 
(655 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://joly8816.fusedtree.com/ free trial antivirus protection
+
=== Introduction ===
http://joly8816.fusedtree.com/3/ spanish soup recipes
+
The IP-TCE library is a set of C functions designed to provide
http://joly2257.my3gb.com/ watch big brother free
+
high-performance array index permutation (index sorting), an important
http://joly2257.my3gb.com/7/ watch the simpsons for
+
group of kernels used in many scientific applications and compilation
http://ytrew55.freehostia.com/ south park character from
+
techniques. The generation of the library code combines analytical and
http://ytrew55.freehostia.com/1/ best blonde jokes
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://vita4579.phreesite.com/ very long hair
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://vita4579.phreesite.com/3/ 24 hour military watch
+
with challenges such as high indexing costs and short dimensions, we employ
http://vita1578.freehostplace.com/ be kind rewind black
+
optimizations such as restricting code versions, using one-level tiling and
http://vita1578.freehostplace.com/6/ jennifer aniston ass
+
generating indexing code to achieve high performance without code size
http://wing6585.110mb.com/ johnny rocketfingers 2 walkthrough
+
explosion.
http://wing6585.110mb.com/4/ haluz 2 walkthrough
+
 
http://joly3312.freewhost.com/ karaoke revolution party gamecube
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://joly3312.freewhost.com/9/ county map of florida
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://joly8816.fusedtree.com/free-trial-version-of-antivirus.html antivirus trial pack
+
have more complicated optimizations than the others, the library employs SSE2
http://joly8816.fusedtree.com/3/spanish-salad-recipes.html spanish fruit recipes
+
instructions when the fastest varying dimensions of source and destination
http://joly2257.my3gb.com/watch-big-brother-9-live.html watch big brother house
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://joly2257.my3gb.com/7/watch-the-simpsons-season-18.html watch the simpsons homer
+
is chosen. The user should be able to modify our code to get IP code working for
http://ytrew55.freehostia.com/south-park-character-and.html best south park character
+
other dimension numbers.
http://ytrew55.freehostia.com/1/funny-clean-blonde-jokes.html and a blonde jokes
+
 
http://vita4579.phreesite.com/long-hair-dog.html long hair highlights
+
The IP-TCE library implements two variants of index permutation. One variant
http://vita4579.phreesite.com/3/watch-24-minutes.html 24 08 watch
+
implements B = factor * Permute(A, permutation) and the other one is the
http://vita1578.freehostplace.com/be-kind-rewind-sweeded.html be kind rewind swedes
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://vita1578.freehostplace.com/6/jennifer-aniston-boobs.html jennifer aniston french
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://wing6585.110mb.com/trapped-walkthrough.html azada walkthrough
+
been able to plug our code into nwchem/tce and obtained overall performance
http://wing6585.110mb.com/4/heist-2-walkthrough.html megaman 2 walkthrough
+
improvements ranging from 74% to 253% with different methods and inputs.
http://joly3312.freewhost.com/karaoke-revolution-bundle-ps2.html karaoke revolution online
+
 
http://joly3312.freewhost.com/9/north-florida-map.html map of northwest florida
+
=== Compilation ===
http://joly8816.fusedtree.com/antivirus-14-day-trial.html antivirus 2003 download trial
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://joly8816.fusedtree.com/3/spanish-recipes-deserts.html favorite spanish recipes
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://joly2257.my3gb.com/hampster-watch-big-brother.html watch big brother 9 episode 17
+
compilers such as pgcc is used, the user is responsible for finding the
http://joly2257.my3gb.com/7/www-watch-the-simpsons-com.html watch the simpsons episode the  
+
alignment directives used by the compiler and changing the library code
http://ytrew55.freehostia.com/south-park-character-version-3.html south park character timmy
+
correspondingly.
http://ytrew55.freehostia.com/1/question-and-answer-blonde-jokes.html quick blonde jokes
+
 
http://vita4579.phreesite.com/punk-long-hair.html male long hair styles
+
=== Library Usage ===
http://vita4579.phreesite.com/3/i-watch-24-online.html watch 24 diamonds
+
The interface of the IP-TCE library is compatible with the index permutation
http://vita1578.freehostplace.com/be-kind-rewind-farrow.html be kind rewind home
+
routines in nwchem/tce and is mainly for Fortran used. For example,
http://vita1578.freehostplace.com/6/jennifer-aniston-s.html photos of jennifer aniston
+
the prototype of the 4-D non-accumulative permutation routine is:
http://wing6585.110mb.com/riddle-school-2-walkthrough.html episode 2 walkthrough
+
 
http://wing6585.110mb.com/4/stranded-2-walkthrough.html tak 2 walkthrough
+
                  tce_sort_4_(double* unsorted,double* sorted,
http://joly3312.freewhost.com/singstar-vs-karaoke-revolution.html karaoke revolution custom
+
                              int* a_in, int* b_in, int* c_in, int* d_in,
http://joly3312.freewhost.com/9/map-pf-florida.html pinellas county florida map
+
                              int* i_in, int* j_in, int* k_in, int* l_in,
http://joly8816.fusedtree.com/antivirus-2009-trial.html antivirus 6 trial
+
                              double* factor_in)
http://joly8816.fusedtree.com/3/all-spanish-recipes.html spanish banana recipes
+
 
http://joly2257.my3gb.com/watch-big-brother-9-episode-18.html i watch big brother after dark
+
Where all the arguments are pointers and function names are in the lowercase
http://joly2257.my3gb.com/7/how-to-watch-the-simpsons-online.html watch the simpsons das
+
and end with "_". If needed,  the user can write a wrapper or directly modify
http://ytrew55.freehostia.com/south-park-character-generate.html new season of south park
+
the function (which is actually a wrapper to the SIMD and scalar IP functions)
http://ytrew55.freehostia.com/1/filthy-blonde-jokes.html blonde jokes with pictures
+
to obtain a desired interface.
http://vita4579.phreesite.com/david-beckham-long-hair.html long hair design
+
 
http://vita4579.phreesite.com/3/watch-4400-online-free.html 4400 watch season
+
=== Contact Info ===
http://vita1578.freehostplace.com/be-kind-rewind-location.html be kind rewind boston ma
+
Please contact Qingda Lu(luq@cse.ohio-state.edu) for questions.
http://vita1578.freehostplace.com/6/jennifer-aniston-photo-gallery.html jennifer aniston wedding hair
+
 
http://wing6585.110mb.com/scratches-walkthrough.html i wanna be the guy walkthrough
+
=== Reference ===
http://wing6585.110mb.com/4/virtual-villager-2-walkthrough.html star ocean 2 walkthrough
+
[1] Qingda Lu, Sriram Krishnamoorthy, P. Sadayappan: Combining analytical and
http://joly3312.freewhost.com/karaoke-revolution-series.html karaoke revolution website
+
empirical approaches in tuning matrix transposition. 15th International
http://joly3312.freewhost.com/9/south-florida-map.html map in florida
+
Conference on Parallel Architecture and Compilation Techniques(PACT 2006):233-242
http://joly8816.fusedtree.com/antivirus-trial.html trial versions of antivirus
+
http://joly8816.fusedtree.com/3/spanish-snack-recipe.html quick easy spanish recipes
+
http://joly2257.my3gb.com/watch-big-brother-10-episode-5.html watch big brother 9 episode 2
+
http://joly2257.my3gb.com/7/how-can-i-watch-the-simpsons.html watch the simpsons episodes online
+
http://ytrew55.freehostia.com/season-12-of-south-park.html south park season 2007
+
http://vita4579.phreesite.com/international-long-hair.html long hair cuts styles
+
http://vita1578.freehostplace.com/be-kind-rewind-movieforumz.html be kind rewind oakland
+
http://vita1578.freehostplace.com/6/jennifer-aniston-music.html of jennifer aniston naked
+
http://wing6585.110mb.com/vision-walkthrough.html great maze walkthrough
+
http://wing6585.110mb.com/4/shenmue-2-walkthrough.html condemned 2 walkthrough doll factory
+
http://joly3312.freewhost.com/next-karaoke-revolution.html karaoke revolution party bundle with 2 microphones
+
http://joly3312.freewhost.com/9/stewart-florida-map.html lake florida map
+
http://ytrew55.freehostia.com/south-park-season-10-mp4.html list of south park season
+
http://vita1578.freehostplace.com/6/new-jennifer-aniston-and.html jennifer aniston and her
+
http://wing6585.110mb.com/4/theif-2-walkthrough.html lost kingdoms 2 walkthrough
+

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