TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(vATaOyMJ)
 
(863 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://abro1513.freewhost.com/ paint brushes pictures
+
=== Introduction ===
http://foki2057.110mb.com/ naruto loves hinata
+
The IP-TCE library is a set of C functions designed to provide
http://tram1594.freehostplace.com/ fruit drink recipes
+
high-performance array index permutation (index sorting), an important
http://serg9581.700megs.com/ american pie beta house cast
+
group of kernels used in many scientific applications and compilation
http://serg0147.rack111.com/ katekyou hitman reborn
+
techniques. The generation of the library code combines analytical and
http://vova3519.001webs.com/ photoshop cs3 free download crack
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://nipo7410.mycyberway.com/ his dark materials theatre
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://abro1513.freewhost.com/paint-brush-list.html power paint brush
+
with challenges such as high indexing costs and short dimensions, we employ
http://foki2057.110mb.com/naruto-n-hinata.html hinata youtube
+
optimizations such as restricting code versions, using one-level tiling and
http://tram1594.freehostplace.com/chocolate-drink-recipes.html pineapple drink recipes
+
generating indexing code to achieve high performance without code size
http://serg9581.700megs.com/cast-of-american-pie-beta-house.html american pie beta house part 3
+
explosion.
http://serg0147.rack111.com/hitman-reborn-27.html hitman reborn 81
+
 
http://vova3519.001webs.com/photoshop-cs3-extended-keygen-download.html photoshop cs3 tryout download
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://nipo7410.mycyberway.com/his-dark-materials-lyra.html his dark materials com
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://abro1513.freewhost.com/paint-brush-extension.html paint brush company
+
have more complicated optimizations than the others, the library employs SSE2
http://foki2057.110mb.com/hinata-wig.html narutoand hinata
+
instructions when the fastest varying dimensions of source and destination
http://tram1594.freehostplace.com/top-drink-recipes.html beach drink recipes
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://serg9581.700megs.com/american-pie-beta-house-game.html american pie after beta house
+
is chosen. The user should be able to modify our code to get IP code working for
http://serg0147.rack111.com/katekyoshi-hitman-reborn.html hitman reborn dvd
+
other dimension numbers.
http://vova3519.001webs.com/adobe-photoshop-cs3-extended-keygen-download.html download photoshop cs3 on
+
 
http://nipo7410.mycyberway.com/philip-pullmans-his-dark-materials-trilogy.html pullmans his dark materials
+
The IP-TCE library implements two variants of index permutation. One variant
http://abro1513.freewhost.com/pictures-of-paint-brush.html xweetok paint brush
+
implements B = factor * Permute(A, permutation) and the other one is the
http://foki2057.110mb.com/hinata-tickled.html hinata dressup
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://tram1594.freehostplace.com/girly-drink-recipes.html grand marnier drink recipes
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://serg9581.700megs.com/american-pie-6-beta-house.html watch american pie beta house unrated for  
+
been able to plug our code into nwchem/tce and obtained overall performance
http://serg0147.rack111.com/katekyo-hitman-reborn-manga.html katekyo hitman reborn 6
+
improvements ranging from 74% to 253% with different methods and inputs.
http://vova3519.001webs.com/download-full-version-of-photoshop-cs3.html adobe photoshop cs3 expired
+
 
http://nipo7410.mycyberway.com/his-dark-materials-theater.html his dark materials lyras
+
=== Compilation ===
http://abro1513.freewhost.com/paint-photoshop-brushes.html install brushes in paint shop
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://foki2057.110mb.com/hinata-naked.html hinata bathing
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://tram1594.freehostplace.com/tiki-drink-recipes.html mix drinks recipes
+
compilers such as pgcc is used, the user is responsible for finding the
http://serg9581.700megs.com/american-pie-6-cast.html american pie 6 full
+
alignment directives used by the compiler and changing the library code
http://serg0147.rack111.com/katekyo-hitman-reborn-12.html katekyo hitman reborn 35
+
correspondingly.
http://vova3519.001webs.com/adobe-photoshop-cs3-installation.html adobe photoshop cs3 for dummies
+
 
http://nipo7410.mycyberway.com/his-dark-materials-book-1-northern.html his dark materials golden compass movie
+
=== 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