TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(otyAJCyiswhwcfmft)
 
(932 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://soto0001.700megs.com/ cheat codes for command and conquer 3
+
=== Introduction ===
http://argo1394.rack111.com/ swords and sandals 2 cheat
+
The IP-TCE library is a set of C functions designed to provide
http://argo1394.freewhost.com/ watch sex and the city 2008 online
+
high-performance array index permutation (index sorting), an important
http://kirs0021.sitebooth.com/ new akatsuki
+
group of kernels used in many scientific applications and compilation
http://obuv.my3gb.com/ watch south park major
+
techniques. The generation of the library code combines analytical and
http://srot3012.lhosting.info/ tv series on line
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://tero2107.mycyberway.com/ hitman 2 hints
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://soto0001.700megs.com/devil-may-cry-3-special-edition-cheat.html cheat enginer 5 3 free download
+
with challenges such as high indexing costs and short dimensions, we employ
http://argo1394.rack111.com/cheat-codes-for-naruto-clash-of-ninja-2.html dream chronicles 2 cheat
+
optimizations such as restricting code versions, using one-level tiling and
http://argo1394.freewhost.com/watch-sex-and-the-city-film.html watch sex and the city last episode
+
generating indexing code to achieve high performance without code size
http://kirs0021.sitebooth.com/akatsuki-org.html akatsuki uniform
+
explosion.
http://obuv.my3gb.com/watch-south-park-guitar-hero.html south park watch it
+
 
http://srot3012.lhosting.info/good-tv-series.html george lopez tv series
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://tero2107.mycyberway.com/button-hunt-2-hints.html medal of honor heroes 2 hints
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://soto0001.700megs.com/halo-3-cheat-codes-xbox-360.html cheat codes for dynasty warriors 3
+
have more complicated optimizations than the others, the library employs SSE2
http://argo1394.rack111.com/the-impossible-quiz-2-cheat.html cheat for guitar hero 2
+
instructions when the fastest varying dimensions of source and destination
http://argo1394.freewhost.com/how-can-i-watch-sex-and-the-city.html to watch sex and the city the  
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://kirs0021.sitebooth.com/akatsuki-high.html tobi from akatsuki
+
is chosen. The user should be able to modify our code to get IP code working for
http://obuv.my3gb.com/watch-south-park-1008.html watch south park season 5
+
other dimension numbers.
http://srot3012.lhosting.info/cannon-tv-series.html the riches tv series
+
 
http://tero2107.mycyberway.com/mega-man-2-hints.html clear vision 2 hints
+
The IP-TCE library implements two variants of index permutation. One variant
http://soto0001.700megs.com/gh-3-cheat.html sift head 3 cheat
+
implements B = factor * Permute(A, permutation) and the other one is the
http://argo1394.rack111.com/medal-of-honor-heroes-2-cheat.html cheat codes for full auto 2
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://argo1394.freewhost.com/watch-free-sex-and-the-city-season.html watch sex and the city on the
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://kirs0021.sitebooth.com/akatsuki-renders.html akatsuki teams
+
been able to plug our code into nwchem/tce and obtained overall performance
http://obuv.my3gb.com/watch-south-park-studios.html watch south park epidodes
+
improvements ranging from 74% to 253% with different methods and inputs.
http://srot3012.lhosting.info/weird-science-tv-series.html zorro tv series
+
 
http://tero2107.mycyberway.com/tomba-2-hints.html clash of ninja 2 hints
+
=== Compilation ===
http://soto0001.700megs.com/hot-shots-golf-3-cheat.html halo 3 forge cheat
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://argo1394.rack111.com/doom-2-cheat.html driver 2 cheat
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://argo1394.freewhost.com/watch-sex-and-the-city-season-2-episode.html where can i watch sex and the city season
+
compilers such as pgcc is used, the user is responsible for finding the
http://kirs0021.sitebooth.com/akatsuki-mebers.html akatsuki quisses
+
alignment directives used by the compiler and changing the library code
http://obuv.my3gb.com/south-park-episodes-watch-for.html i watch all south park episodes
+
correspondingly.
http://srot3012.lhosting.info/isis-tv-series.html all tv series
+
 
http://tero2107.mycyberway.com/fancy-pants-2-hints.html mysteriez 2 hints
+
=== Library Usage ===
http://argo1394.freewhost.com/watch-sex-and-the-city-the-movie-online.html watch sex and the city 2008 online
+
The interface of the IP-TCE library is compatible with the index permutation
http://srot3012.lhosting.info/jordan-tv-series.html vip tv series
+
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

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