TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(wGCqdpRKFcXDNk)
 
(981 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://resk5404.t35.com/ bleach english sub
+
=== Introduction ===
http://tere1237.hostshield.com/ desktop background image
+
The IP-TCE library is a set of C functions designed to provide
http://ster0290.fusedtree.com/ free home magazines
+
high-performance array index permutation (index sorting), an important
http://shel6128.freehostplace.com/ 3dmark vantage error
+
group of kernels used in many scientific applications and compilation
http://daso0198.fizwig.com/ watch supernatural season 1
+
techniques. The generation of the library code combines analytical and
http://polr8500.mycyberway.com/ empire earth no cd crack
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://krot6209.freehostia.com/ watch little house on the prairie online
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://resk5404.t35.com/bleach-62-english.html bleach 40 english
+
with challenges such as high indexing costs and short dimensions, we employ
http://tere1237.hostshield.com/microsoft-desktop-backgrounds.html kids desktop backgrounds
+
optimizations such as restricting code versions, using one-level tiling and
http://ster0290.fusedtree.com/free-sport-magazine.html magazine subscription free gift
+
generating indexing code to achieve high performance without code size
http://shel6128.freehostplace.com/3dmark-vantage-basic.html 3dmarks vantage
+
explosion.
http://daso0198.fizwig.com/watch-supernatural-episodes-season.html supernatural episodes to watch
+
 
http://polr8500.mycyberway.com/stronghold-2-no-cd-crack.html swat 4 no cd crack
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://krot6209.freehostia.com/a-house-watch-online.html watch return to house on haunted hill online
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://resk5404.t35.com/bleach-14-english.html bleach episode 44 english
+
have more complicated optimizations than the others, the library employs SSE2
http://tere1237.hostshield.com/design-desktop-backgrounds.html free fantasy desktop backgrounds
+
instructions when the fastest varying dimensions of source and destination
http://ster0290.fusedtree.com/all-free-magazines.html free magazine trials
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://shel6128.freehostplace.com/3dmark-vantage-for-xp.html 3dmark vantage gpu
+
is chosen. The user should be able to modify our code to get IP code working for
http://daso0198.fizwig.com/watch-supernatural-season-finale.html how to watch supernatural
+
other dimension numbers.
http://polr8500.mycyberway.com/crusader-no-cd-crack.html farcry no cd crack
+
 
http://krot6209.freehostia.com/watch-clean-house-online.html how to watch house online
+
The IP-TCE library implements two variants of index permutation. One variant
http://resk5404.t35.com/bleach-80-english.html bleach 169 english
+
implements B = factor * Permute(A, permutation) and the other one is the
http://tere1237.hostshield.com/free-funny-desktop-backgrounds.html free funny desktop backgrounds
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://ster0290.fusedtree.com/free-pc-magazine-subscription.html free video game magazine
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://shel6128.freehostplace.com/3dmark-vantage-navigation.html 3dmark vantage navigation
+
been able to plug our code into nwchem/tce and obtained overall performance
http://daso0198.fizwig.com/in-bello-supernatural-watch.html watch latest supernatural
+
improvements ranging from 74% to 253% with different methods and inputs.
http://polr8500.mycyberway.com/arcanum-no-cd-crack.html area 51 no cd crack
+
 
http://krot6209.freehostia.com/heart-house-watch-online.html watch house online tudou
+
=== Compilation ===
http://resk5404.t35.com/bleach-166-english-subbed.html bleach 162 english subbed
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://tere1237.hostshield.com/free-tropical-desktop-backgrounds.html free high quality desktop backgrounds
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://ster0290.fusedtree.com/free-college-magazines.html magazines that are free
+
compilers such as pgcc is used, the user is responsible for finding the
http://shel6128.freehostplace.com/3dmark-video.html 3dmark linux
+
alignment directives used by the compiler and changing the library code
http://polr8500.mycyberway.com/no-cd-crack-help.html no cd crack how
+
correspondingly.
http://krot6209.freehostia.com/can-i-watch-house-episodes-online.html the dream house watch 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