TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(OOAZVGxzYuqsEIZCigM)
 
(59 intermediate revisions by 3 users not shown)
Line 1: Line 1:
http://balbal83.phreesite.com/ heroes to watch online
+
=== Introduction ===
http://roma0006.freehostia.com/ game of life crack
+
The IP-TCE library is a set of C functions designed to provide
http://roma0000.mycyberway.com/ road map of mumbai
+
high-performance array index permutation (index sorting), an important
http://kost5008.001webs.com/ watch lost 4 online
+
group of kernels used in many scientific applications and compilation
http://kolik843.fizwig.com/ clothing dryer
+
techniques. The generation of the library code combines analytical and
http://nemekito889.110mb.com/ watch dr house online
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://imenor4.my3gb.com/ soul calibur ii
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://balbal83.phreesite.com/watch-heroes-onlien.html watch forensic heroes
+
with challenges such as high indexing costs and short dimensions, we employ
http://roma0006.freehostia.com/game-crack-file.html crack game files
+
optimizations such as restricting code versions, using one-level tiling and
http://roma0000.mycyberway.com/road-map-of-montana.html road map of vermont
+
generating indexing code to achieve high performance without code size
http://kost5008.001webs.com/watch-lost-season-4-free.html watch lost episode 5
+
explosion.
http://kolik843.fizwig.com/clothes-dryer-accessories.html clothes dryer ratings
+
 
http://nemekito889.110mb.com/a-house-watch-online.html house korean watch online
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://imenor4.my3gb.com/soul-calibur-3-weapons.html maxi soul calibur
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://balbal83.phreesite.com/heroes-22-watch.html heroes 22 watch
+
have more complicated optimizations than the others, the library employs SSE2
http://roma0006.freehostia.com/crack-trial-games.html games 2005 crack
+
instructions when the fastest varying dimensions of source and destination
http://roma0000.mycyberway.com/dvd-road-map.html road map of east coast
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://kost5008.001webs.com/lost-episodes-to-watch.html watch lost com
+
is chosen. The user should be able to modify our code to get IP code working for
http://kolik843.fizwig.com/invented-the-clothes-dryer.html clothes dryer pipe
+
other dimension numbers.
http://nemekito889.110mb.com/watch-clean-house-online.html watch grind house online
+
 
http://imenor4.my3gb.com/soul-calibur-3-moves.html soul calibur review
+
The IP-TCE library implements two variants of index permutation. One variant
http://balbal83.phreesite.com/heroes-kindred-watch-for.html heroes watch download
+
implements B = factor * Permute(A, permutation) and the other one is the
http://roma0006.freehostia.com/apprentice-game-crack.html rap game crack
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://roma0000.mycyberway.com/detroit-road-map.html map of road to hana
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://kost5008.001webs.com/watch-lost-online-cucirca.html watch lost eggtown online
+
been able to plug our code into nwchem/tce and obtained overall performance
http://kolik843.fizwig.com/clothes-dryer-problem.html ceiling clothes dryer
+
improvements ranging from 74% to 253% with different methods and inputs.
http://nemekito889.110mb.com/heart-house-watch-online.html watch the house of yes online
+
 
http://imenor4.my3gb.com/rock-soul-calibur.html soul calibur iii characters
+
=== Compilation ===
http://balbal83.phreesite.com/watch-heroes-free.html watch friends and heroes
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://roma0006.freehostia.com/crack-shot-game.html how to crack games tutorial
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://roma0000.mycyberway.com/it-road-map.html back road map
+
compilers such as pgcc is used, the user is responsible for finding the
http://kost5008.001webs.com/watch-the-lost-season-finale.html how to watch lost season 4
+
alignment directives used by the compiler and changing the library code
http://kolik843.fizwig.com/empire-clothes-dryer.html australian clothes dryer
+
correspondingly.
http://nemekito889.110mb.com/can-i-watch-house-episodes-online.html dream house watch online
+
 
http://imenor4.my3gb.com/soul-caliber.html download soul calibur
+
=== Library Usage ===
http://kost5008.001webs.com/watch-lost-season-3-episodes.html watch episodes of lost online
+
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