TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(UkySnGlVeyxoMHVKeJ)
 
(887 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://boni3217.phreesite.com/ star wars watch for
+
=== Introduction ===
http://abro1315.fizwig.com/ family guy episodes on psp
+
The IP-TCE library is a set of C functions designed to provide
http://vova1568.hostshield.com/ defrag windows xp
+
high-performance array index permutation (index sorting), an important
http://elfa4785.gofreeserve.com/ simple apple pie recipe
+
group of kernels used in many scientific applications and compilation
http://tala8365.001webs.com/ graphics suite x4 crack
+
techniques. The generation of the library code combines analytical and
http://boni8109.110mb.com/ assassins creed 2 news
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://grehu90.700megs.com/ gossip girl episode 16 free
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://boni3217.phreesite.com/watch-star-wars-online-for.html watch star wars 3 free
+
with challenges such as high indexing costs and short dimensions, we employ
http://abro1315.fizwig.com/family-guy-episodes-quagmire.html family guy episodes onlines
+
optimizations such as restricting code versions, using one-level tiling and
http://vova1568.hostshield.com/vista-disk-defrag.html defrag professional edition
+
generating indexing code to achieve high performance without code size
http://elfa4785.gofreeserve.com/caramel-apple-pie-recipes.html martha stewart apple pie recipe
+
explosion.
http://tala8365.001webs.com/graphics-suite-12-serial.html 10 graphics suite
+
 
http://boni8109.110mb.com/does-assassins-creed-2-come.html assassins creed flash
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://grehu90.700megs.com/gossip-girl-episode-listing.html gossip girl episode 17 free
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://boni3217.phreesite.com/watch-star-wars-episode-v.html watch star wars on command prompt
+
have more complicated optimizations than the others, the library employs SSE2
http://abro1315.fizwig.com/the-family-guy-full-episodes.html full episodes of the family guy
+
instructions when the fastest varying dimensions of source and destination
http://vova1568.hostshield.com/defrag-download.html defrag download
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://elfa4785.gofreeserve.com/fresh-apple-pie-recipe.html recipe for apple crumb pie
+
is chosen. The user should be able to modify our code to get IP code working for
http://tala8365.001webs.com/graphics-suite-x3-activation.html draw graphics suite 12.0
+
other dimension numbers.
http://boni8109.110mb.com/assassins-creed-pc-specs.html assassins creed sucks
+
 
http://grehu90.700megs.com/gossip-girl-episode-19-online.html download gossip girl online
+
The IP-TCE library implements two variants of index permutation. One variant
http://boni3217.phreesite.com/watch-star-wars-three.html do you watch star wars
+
implements B = factor * Permute(A, permutation) and the other one is the
http://abro1315.fizwig.com/watch-full-length-episodes-of-family-guy-online.html download free family guy episodes
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://vova1568.hostshield.com/schedule-a-defrag.html online defrag
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://elfa4785.gofreeserve.com/green-apple-pie-recipe.html julian apple pie recipe
+
been able to plug our code into nwchem/tce and obtained overall performance
http://tala8365.001webs.com/graphics-suite-12-torrent.html graphics suite 11 crack
+
improvements ranging from 74% to 253% with different methods and inputs.
http://boni8109.110mb.com/assassins-creed-requirments.html weapons in assassins creed
+
 
http://grehu90.700megs.com/gossip-girl-poison-ivy-watch-online.html gossip girl poison ivy watch online
+
=== Compilation ===
http://boni3217.phreesite.com/should-you-watch-star-wars.html watch star wars 3 revenge of the  
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://abro1315.fizwig.com/family-guy-episodes-free-on.html all family guy episodes online for free
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://vova1568.hostshield.com/disk-defrag-in-vista.html won t defrag
+
compilers such as pgcc is used, the user is responsible for finding the
http://tala8365.001webs.com/graphics-suite-x-4-torrent.html draw graphics suite 12 upgrade
+
alignment directives used by the compiler and changing the library code
http://boni8109.110mb.com/assassins-creed-xbox-achievements.html assassins creed help xbox
+
correspondingly.
http://grehu90.700megs.com/gossip-girl-full-season-online.html read gossip girl series 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