TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(YOmbpYbJ)
 
(900 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://www.vika1235.101freehost.com/ organic cloth diaper
+
=== Introduction ===
http://poli1209.phreesite.com/ personal contract plan
+
The IP-TCE library is a set of C functions designed to provide
http://prog1458.110mb.com/ cheats for ghost recon advanced warfighter on xbox
+
high-performance array index permutation (index sorting), an important
http://poli3480.fizwig.com/ adobe photoshop cs2 tutorial
+
group of kernels used in many scientific applications and compilation
HTTP://frod1532.rack111.com/ buying fake watches in kl
+
techniques. The generation of the library code combines analytical and
http://poli7733.freehostia.com/ 3dmark vantage score
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://elfa4567.mycyberway.com/ bikram yoga atlanta
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://www.vika1235.101freehost.com/cloth-diaper-doubler.html flat cloth diaper
+
with challenges such as high indexing costs and short dimensions, we employ
http://poli1209.phreesite.com/example-of-personal-development-plan.html personal spending plan
+
optimizations such as restricting code versions, using one-level tiling and
http://prog1458.110mb.com/ghost-recon-adanced-warfighter.html ghost recon advanced warfighter cheats for xbox 360
+
generating indexing code to achieve high performance without code size
http://poli3480.fizwig.com/adobe-photoshop-cs2-imageready.html adobe photoshop cs2 or
+
explosion.
HTTP://frod1532.rack111.com/fake-cellini-watches.html fake citizen watches
+
 
http://poli7733.freehostia.com/3dmark-vantage-basic.html 3dmarks vantage
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://elfa4567.mycyberway.com/bikram-yoga-studios.html bikram yoga reviews
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://www.vika1235.101freehost.com/cloth-diaper-starter-set.html overnight cloth diaper
+
have more complicated optimizations than the others, the library employs SSE2
http://poli1209.phreesite.com/personal-saving-plan.html sample of a personal development plan
+
instructions when the fastest varying dimensions of source and destination
http://prog1458.110mb.com/ghost-recon-advanced-warfighter-walkthru.html ghost recon advanded warfighter
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://poli3480.fizwig.com/adobe-photoshop-cs2-red.html download adobe photoshop cs2 crack
+
is chosen. The user should be able to modify our code to get IP code working for
HTTP://frod1532.rack111.com/fake-lange-watches-hong-kong.html fake omega men watches
+
other dimension numbers.
http://poli7733.freehostia.com/3dmark-vantage-for-xp.html 3dmark vantage coupon
+
 
http://elfa4567.mycyberway.com/bikram-yoga-sarasota.html bikram yoga in seattle
+
The IP-TCE library implements two variants of index permutation. One variant
http://www.vika1235.101freehost.com/waterproof-cloth-diaper.html wool cloth diaper covers
+
implements B = factor * Permute(A, permutation) and the other one is the
http://poli1209.phreesite.com/a-personal-five-year-plan.html developing a personal plan
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://prog1458.110mb.com/ghostrecon-2-cheats.html ghostrecon games
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://poli3480.fizwig.com/adobe-photoshop-cs2-free-trial.html buy photoshop cs2
+
been able to plug our code into nwchem/tce and obtained overall performance
HTTP://frod1532.rack111.com/fake-role-watches.html fake rolex watches womens
+
improvements ranging from 74% to 253% with different methods and inputs.
http://poli7733.freehostia.com/3dmark-vantage-navigation.html gtx 280 3dmark vantage
+
 
http://elfa4567.mycyberway.com/bikram-yoga-kc.html bikram yoga rockville center
+
=== Compilation ===
http://www.vika1235.101freehost.com/cloth-ease-pocket-diaper.html cloth diaper trial package
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://poli1209.phreesite.com/motors-personal-savings-plan.html why is it important to plan personal finance
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://poli3480.fizwig.com/photoshop-cs2-trial-version.html adobe photoshop cs2 help
+
compilers such as pgcc is used, the user is responsible for finding the
HTTP://frod1532.rack111.com/genuine-fake-watches.html knockoff fake counterfite cartier watches
+
alignment directives used by the compiler and changing the library code
http://poli7733.freehostia.com/3dmark-video.html 3dmark linux
+
correspondingly.
http://elfa4567.mycyberway.com/bikram-yoga-henderson-nv.html bikram yoga camp
+
 
HTTP://frod1532.rack111.com/relica-fake-watches.html tag heuer fake watches
+
=== 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