TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(yxvJrhwrbKhuTuImzK)
 
(848 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://svej9056.700megs.com/ avatar book 3 chapter 2
+
=== Introduction ===
http://svej9056.700megs.com/9/ wedding cake boxes
+
The IP-TCE library is a set of C functions designed to provide
http://ivan9478.fizwig.com/ medicine ball exercise
+
high-performance array index permutation (index sorting), an important
http://ivan9478.fizwig.com/7/ paint kitchen counter
+
group of kernels used in many scientific applications and compilation
http://gero9785.freehostplace.com/ singles 2 trainer
+
techniques. The generation of the library code combines analytical and
http://gero9785.freehostplace.com/4/ moulin rouge show
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://dima4598.sitebooth.com/ venice florida news
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://dima4598.sitebooth.com/3/ birthday party cakes
+
with challenges such as high indexing costs and short dimensions, we employ
http://roma3594.yourfreehosting.net/ liquid protein diet
+
optimizations such as restricting code versions, using one-level tiling and
http://roma3594.yourfreehosting.net/4/ soul eater 14
+
generating indexing code to achieve high performance without code size
http://vkon6001.freehostguy.com/ music and popular culture
+
explosion.
http://vkon6001.freehostguy.com/1/ watch americas next top model free
+
 
http://ivan3366.001webs.com/ definitely maybe online
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://ivan3366.001webs.com/4/ culture of food
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://svej9056.700megs.com/watch-avatar-book-3-chapter-16.html avatar book 2 chapter 17
+
have more complicated optimizations than the others, the library employs SSE2
http://svej9056.700megs.com/9/wedding-cake-jewelry.html mexican wedding cake
+
instructions when the fastest varying dimensions of source and destination
http://ivan9478.fizwig.com/medicine-ball-video.html using medicine ball
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://ivan9478.fizwig.com/7/replace-kitchen-counter.html kitchen counter size
+
is chosen. The user should be able to modify our code to get IP code working for
http://gero9785.freehostplace.com/metal-gear-solid-2-trainer.html hitman 2 trainer
+
other dimension numbers.
http://gero9785.freehostplace.com/4/moulin-rouge-history.html moulin rouge official
+
 
http://dima4598.sitebooth.com/apartments-for-rent-in-venice-florida.html golf courses in venice florida
+
The IP-TCE library implements two variants of index permutation. One variant
http://dima4598.sitebooth.com/3/50th-birthday-cakes.html birthday cakes com
+
implements B = factor * Permute(A, permutation) and the other one is the
http://roma3594.yourfreehosting.net/what-is-a-liquid-diet.html liquid protein diets
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://roma3594.yourfreehosting.net/4/soul-eater-english.html soul eater blog
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://vkon6001.freehostguy.com/popular-culture-review.html popular culture articles
+
been able to plug our code into nwchem/tce and obtained overall performance
http://vkon6001.freehostguy.com/1/watch-project-runway.html watch episode of project runway
+
improvements ranging from 74% to 253% with different methods and inputs.
http://ivan3366.001webs.com/definitely-maybe-divx.html definitely maybe cd
+
 
http://ivan3366.001webs.com/4/african-food-and-culture.html food and culture book
+
=== Compilation ===
http://svej9056.700megs.com/avatar-book-3-chapter-14-boiling-rock.html avatar book 3 chapter 22
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://svej9056.700megs.com/9/beautiful-wedding-cakes.html wedding cake candle
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://ivan9478.fizwig.com/medicine-ball-30.html medicine ball slams
+
compilers such as pgcc is used, the user is responsible for finding the
http://ivan9478.fizwig.com/7/mobile-kitchen-counter.html kitchen counter overlay
+
alignment directives used by the compiler and changing the library code
http://gero9785.freehostplace.com/star-wars-kotor-2-trainer.html princess maker 2 trainer
+
correspondingly.
http://gero9785.freehostplace.com/4/moulin-rouge-cabaret.html buy moulin rouge
+
 
http://dima4598.sitebooth.com/chevrolet-venice-florida.html cafe venice venice florida
+
=== Library Usage ===
http://dima4598.sitebooth.com/3/train-birthday-cake.html fondant birthday cakes
+
The interface of the IP-TCE library is compatible with the index permutation
http://roma3594.yourfreehosting.net/what-is-a-clear-liquid-diet.html liquid diet examples
+
routines in nwchem/tce and is mainly for Fortran used. For example,
http://roma3594.yourfreehosting.net/4/soul-eater-com.html soul eater 24
+
the prototype of the 4-D non-accumulative permutation routine is:
http://vkon6001.freehostguy.com/john-fiske-understanding-popular-culture.html latino popular culture
+
 
http://vkon6001.freehostguy.com/1/watch-extreme-makeover.html watch episodes of extreme makeover home edition
+
                  tce_sort_4_(double* unsorted,double* sorted,
http://ivan3366.001webs.com/definitely-maybe-tv.html book in definitely maybe
+
                              int* a_in, int* b_in, int* c_in, int* d_in,
http://ivan3366.001webs.com/4/food-culture-museum.html bahamas culture food
+
                              int* i_in, int* j_in, int* k_in, int* l_in,
http://svej9056.700megs.com/avatar-316-book-3-chapter-16.html watch avatar book 2 chapter 2
+
                              double* factor_in)
http://svej9056.700megs.com/9/contemporary-wedding-cakes.html wedding cake bags
+
 
http://ivan9478.fizwig.com/medicine-ball-chops.html medicine ball purchase
+
Where all the arguments are pointers and function names are in the lowercase
http://ivan9478.fizwig.com/7/kitchen-counter-corbels.html find kitchen counter
+
and end with "_". If needed,  the user can write a wrapper or directly modify
http://gero9785.freehostplace.com/super-power-2-trainer.html sa trainer v 2
+
the function (which is actually a wrapper to the SIMD and scalar IP functions)
http://gero9785.freehostplace.com/4/moulin-rouge-analysis.html moulin rouge website
+
to obtain a desired interface.
http://dima4598.sitebooth.com/fitness-venice-florida.html spas in venice florida
+
 
http://dima4598.sitebooth.com/3/60th-birthday-cakes.html duck birthday cake
+
=== Contact Info ===
http://roma3594.yourfreehosting.net/liquid-diet-side.html food for liquid diet
+
Please contact Qingda Lu(luq@cse.ohio-state.edu) for questions.
http://roma3594.yourfreehosting.net/4/soul-eater-suikoden.html blackstar soul eater
+
 
http://vkon6001.freehostguy.com/current-popular-culture.html language and popular culture
+
=== Reference ===
http://vkon6001.freehostguy.com/1/watch-amazing-race.html watch amazing race 10 finale
+
[1] Qingda Lu, Sriram Krishnamoorthy, P. Sadayappan: Combining analytical and
http://ivan3366.001webs.com/definitely-maybe-phone.html definitely maybe clinton
+
empirical approaches in tuning matrix transposition. 15th International
http://ivan3366.001webs.com/4/bahrain-culture-food.html food and culture reader
+
Conference on Parallel Architecture and Compilation Techniques(PACT 2006):233-242
http://svej9056.700megs.com/avatar-book-3-chapter-14-airing.html avatar book 3 chapter 16 airs
+
http://svej9056.700megs.com/9/military-wedding-cake-topper.html floral wedding cake topper
+
http://ivan9478.fizwig.com/san-francisco-medicine-ball.html ed thomas medicine ball
+
http://gero9785.freehostplace.com/homeworld-2-10-trainer.html sa trainer final version 2
+
http://gero9785.freehostplace.com/4/moulin-rouge-development.html lyrics from moulin rouge
+
http://dima4598.sitebooth.com/tires-venice-florida.html urgent care venice florida
+
http://dima4598.sitebooth.com/3/50th-birthday-cake-ideas.html creative birthday cake ideas
+
http://roma3594.yourfreehosting.net/4/soul-eater-5-veoh.html aen soul eater 5
+
http://vkon6001.freehostguy.com/latino-a-popular-culture.html center for study of popular culture
+
http://vkon6001.freehostguy.com/1/watch-laguna-beach.html watch the laguna beach
+
http://ivan3366.001webs.com/the-book-in-definitely-maybe.html spoiler for definitely maybe
+
http://ivan3366.001webs.com/4/food-culture-religion.html history of food and culture
+
http://dima4598.sitebooth.com/3/of-birthday-cake-ideas.html decorate birthday cake ideas
+

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

Personal tools