TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(kVDxbytNTuOCYyPqSKh)
 
(897 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://gregor15.700megs.com/ easy chocolate recipes
+
=== Introduction ===
http://coton362.110mb.com/ mexican recipes com
+
The IP-TCE library is a set of C functions designed to provide
http://labec11.mycyberway.com/ watch naruto shippuden 42
+
high-performance array index permutation (index sorting), an important
http://homet881.phreesite.com/ rainbow six 3 cheat codes
+
group of kernels used in many scientific applications and compilation
http://elfa3278.001webs.com/ windows portable device driver
+
techniques. The generation of the library code combines analytical and
http://vlkl934.sitebooth.com/ beef tips recipe
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://aden4587.fizwig.com/ watch one tree hill now
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://gregor15.700megs.com/chocolate-bundt-cake-recipe.html chocolate moose recipe
+
with challenges such as high indexing costs and short dimensions, we employ
http://coton362.110mb.com/new-mexican-recipes.html www mexican recipes
+
optimizations such as restricting code versions, using one-level tiling and
http://labec11.mycyberway.com/watch-free-naruto-episode.html watch all of naruto
+
generating indexing code to achieve high performance without code size
http://homet881.phreesite.com/devil-may-cry-3-special-edition-cheat.html cheat codes for grand theft auto 3 on xbox
+
explosion.
http://elfa3278.001webs.com/portable-windows-live-messenger-85.html portable windows xp live usb edition 2008
+
 
http://vlkl934.sitebooth.com/mongolian-beef-recipe.html beef burgundy recipe
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://aden4587.fizwig.com/one-tree-hill-watch-it.html watch one tree hill echoes
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://gregor15.700megs.com/baking-chocolate-recipe.html free chocolate cake recipes
+
have more complicated optimizations than the others, the library employs SSE2
http://coton362.110mb.com/vegan-mexican-recipes.html old mexican recipes
+
instructions when the fastest varying dimensions of source and destination
http://labec11.mycyberway.com/watch-naruto-episode-20.html watch naruto 54
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://homet881.phreesite.com/halo-3-cheat-codes-xbox-360.html call of duty 3 cheat code  
+
is chosen. The user should be able to modify our code to get IP code working for
http://elfa3278.001webs.com/windows-vista-portable-edition-download.html portable virtual windows
+
other dimension numbers.
http://vlkl934.sitebooth.com/beef-marinade-recipe.html beef pressure cooker recipe
+
 
http://aden4587.fizwig.com/watch-one-tree-hill-on-internet.html watch new episodes of one tree hill
+
The IP-TCE library implements two variants of index permutation. One variant
http://gregor15.700megs.com/white-chocolate-frosting-recipe.html chocolate mousse cake recipes
+
implements B = factor * Permute(A, permutation) and the other one is the
http://coton362.110mb.com/vegetarian-mexican-food-recipes.html mexican food recipes pictures
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://labec11.mycyberway.com/watch-naruto-166.html watch naruto abridged
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://homet881.phreesite.com/gh-3-cheat.html gta 3 xbox cheat codes
+
been able to plug our code into nwchem/tce and obtained overall performance
http://elfa3278.001webs.com/portable-harddrive-windows.html to install portable windows
+
improvements ranging from 74% to 253% with different methods and inputs.
http://vlkl934.sitebooth.com/beef-and-gravy-recipe.html beef pot pie recipes
+
 
http://aden4587.fizwig.com/watch-one-tree-hill-4-years-6-months.html watch one tree hill on cw
+
=== Compilation ===
http://gregor15.700megs.com/chocolate-chocolate-chip-cookies-recipe.html fat chocolate cookies recipe
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://coton362.110mb.com/simple-mexican-food-recipes.html free recipes for mexican food
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://labec11.mycyberway.com/watch-all-naruto-shippuuden.html watch naruto sippuuden
+
compilers such as pgcc is used, the user is responsible for finding the
http://homet881.phreesite.com/hot-shots-golf-3-cheat.html cheat codes for guiter hero 3
+
alignment directives used by the compiler and changing the library code
http://elfa3278.001webs.com/application-developed-on-a-windows-desktop-but-portable-to-other.html eee portable pc with windows xp external
+
correspondingly.
http://vlkl934.sitebooth.com/sirloin-roast-beef-recipe.html eye of round beef roast recipe
+
 
http://aden4587.fizwig.com/watch-one-tree-hill-season-3-online-free.html watch new one tree hill episodes online
+
=== 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

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