TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(swnUBWvj)
 
(992 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://forg6128.yoyohost.com/ naruto ultimate ninja 3 ultimate jutsu
+
=== Introduction ===
http://polr6127.phreesite.com/ how to copy screen shot
+
The IP-TCE library is a set of C functions designed to provide
http://teki8154.rack111.com/ cheap colored contact lenses
+
high-performance array index permutation (index sorting), an important
http://rasc5139.blackapplehost.com/ xbox 360 console mod
+
group of kernels used in many scientific applications and compilation
http://domn5102.freehostia.com/ fake bvlgari watches
+
techniques. The generation of the library code combines analytical and
http://tore9501.fizwig.com/ rare birth defects
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://dush4101.sitebooth.com/ chicken noodle soup recipe
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://forg6128.yoyohost.com/how-to-get-hanabi-hyuuga-in-naruto-ultimate-ninja-3.html naruto ultimate ninja stom
+
with challenges such as high indexing costs and short dimensions, we employ
http://polr6127.phreesite.com/xp-screen-shot-how.html how do i take a screen shot on a pc
+
optimizations such as restricting code versions, using one-level tiling and
http://teki8154.rack111.com/plano-colored-contact-lenses.html white colored contact lenses
+
generating indexing code to achieve high performance without code size
http://rasc5139.blackapplehost.com/which-xbox-360-console.html xbox 360 console release date
+
explosion.
http://domn5102.freehostia.com/fake-cellini-watches.html fake chris aire watches
+
 
http://tore9501.fizwig.com/causing-birth-defects.html rice birth defect
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://dush4101.sitebooth.com/chicken-soup-casserole-recipe.html chicken soup casserole recipe
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://forg6128.yoyohost.com/naruto-ultimate-ninja-clash.html naruto clash of ninja music
+
have more complicated optimizations than the others, the library employs SSE2
http://polr6127.phreesite.com/how-to-email-a-screen-shot.html how do you take a screen shot in windows
+
instructions when the fastest varying dimensions of source and destination
http://teki8154.rack111.com/multifocal-colored-contact-lenses.html color contact lenses no prescription
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://rasc5139.blackapplehost.com/xbox-360-console-crate.html of the xbox 360 console
+
is chosen. The user should be able to modify our code to get IP code working for
http://domn5102.freehostia.com/fake-lange-watches-hong-kong.html fake oakley watches
+
other dimension numbers.
http://tore9501.fizwig.com/india-birth-defects.html hiroshima birth defects
+
 
http://dush4101.sitebooth.com/hearty-chicken-soup-recipe.html chicken velvet soup recipe
+
The IP-TCE library implements two variants of index permutation. One variant
http://forg6128.yoyohost.com/naruto-clash-of-ninja-2-sasuke.html naruto ninja clash land of snow
+
implements B = factor * Permute(A, permutation) and the other one is the
http://polr6127.phreesite.com/how-to-post-a-screen-shot.html how to take a screen shot with windows vista
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://teki8154.rack111.com/wild-color-contact-lenses.html looking color contact lenses
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://rasc5139.blackapplehost.com/console-number-on-xbox-360.html 52d xbox 360 console
+
been able to plug our code into nwchem/tce and obtained overall performance
http://domn5102.freehostia.com/fake-role-watches.html fake tag watches ladies
+
improvements ranging from 74% to 253% with different methods and inputs.
http://tore9501.fizwig.com/national-birth-defect.html possible birth defects
+
 
http://dush4101.sitebooth.com/chicken-foot-soup-recipe.html vegan chicken noodle soup recipe
+
=== Compilation ===
http://forg6128.yoyohost.com/sharingan-sasuke-in-naruto-clash-of-ninja-2.html naruto ninja council visual
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://polr6127.phreesite.com/office-screen-shots.html mobile screen shots
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://teki8154.rack111.com/acuvue-soft-contact-lenses.html acuvue advanced contact lenses
+
compilers such as pgcc is used, the user is responsible for finding the
http://rasc5139.blackapplehost.com/mass-effect-branded-xbox-360-console.html gun cheats for xbox 360
+
alignment directives used by the compiler and changing the library code
http://domn5102.freehostia.com/genuine-fake-watches.html high end fake watches
+
correspondingly.
http://tore9501.fizwig.com/birth-defect-pics.html horrible birth defects
+
 
http://dush4101.sitebooth.com/of-chicken-soup-onion-recipe.html chicken noodle vegetable soup recipe
+
=== Library Usage ===
http://domn5102.freehostia.com/relica-fake-watches.html watches fake imitation copies
+
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