TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(zzwdvKOFUZg)
 
(540 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://alex4559.freewhost.com/ liquid diets
+
=== Introduction ===
http://alex4559.freewhost.com/6/ avatar book 3 streaming
+
The IP-TCE library is a set of C functions designed to provide
http://tink9932.freehostplace.com/ reno nevada pictures
+
high-performance array index permutation (index sorting), an important
http://tink9932.freehostplace.com/5/ call of duty 5 videos
+
group of kernels used in many scientific applications and compilation
http://lida2018.fizwig.com/ 10 day weather forecast
+
techniques. The generation of the library code combines analytical and
http://lida2018.fizwig.com/9/ idaho falls lodging
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://wing4455.freehostia.com/ the movie to kill a mockingbird
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://wing4455.freehostia.com/8/ eat fat lose fat
+
with challenges such as high indexing costs and short dimensions, we employ
http://maks5455.001webs.com/ desktop background images
+
optimizations such as restricting code versions, using one-level tiling and
http://maks5455.001webs.com/6/ clanceys ghost recon
+
generating indexing code to achieve high performance without code size
http://pava5583.my3gb.com/ pet stores
+
explosion.
http://pava5583.my3gb.com/3/ free ad adware se
+
 
http://maxi6532.sitebooth.com/ free magazine subscriptions
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://maxi6532.sitebooth.com/4/ fantastic 4 silver surfer
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://alex4559.freewhost.com/what-is-a-liquid-diet.html clear liquid diet foods
+
have more complicated optimizations than the others, the library employs SSE2
http://alex4559.freewhost.com/6/avatar-book-3-20.html avatar the complete book 3
+
instructions when the fastest varying dimensions of source and destination
http://tink9932.freehostplace.com/reno-nevada-area-code.html reno nevada things to do
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://tink9932.freehostplace.com/5/call-of-duty-5-weapons.html www call of duty 5
+
is chosen. The user should be able to modify our code to get IP code working for
http://lida2018.fizwig.com/european-weather-forecast.html christmas weather forecast
+
other dimension numbers.
http://lida2018.fizwig.com/9/idaho-falls-power.html action motor sports idaho falls
+
 
http://wing4455.freehostia.com/to-kill-a-mockingbird-quizzes.html to kill a mockingbird date
+
The IP-TCE library implements two variants of index permutation. One variant
http://wing4455.freehostia.com/8/lambs-eat-ivy.html what do woodlice eat
+
implements B = factor * Permute(A, permutation) and the other one is the
http://maks5455.001webs.com/microsoft-desktop-backgrounds.html desktops and backgrounds
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://maks5455.001webs.com/6/ghost-recon-adanced-warfighter.html ghost recon advanced warfighter videos
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://pava5583.my3gb.com/kahoots-pet-store.html starting a pet store
+
been able to plug our code into nwchem/tce and obtained overall performance
http://pava5583.my3gb.com/3/ad-adware-se-professional.html ad adware se update
+
improvements ranging from 74% to 253% with different methods and inputs.
http://maxi6532.sitebooth.com/free-sport-magazine.html free travel magazines
+
 
http://maxi6532.sitebooth.com/4/fantastic-4-2.html thing fantastic 4
+
=== Compilation ===
http://alex4559.freewhost.com/what-is-a-clear-liquid-diet.html foods for liquid diet
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://alex4559.freewhost.com/6/avatar-book-3-dvds.html avatar book 3 ch 1
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://tink9932.freehostplace.com/reno-nevada-classifieds.html flowers reno nevada
+
compilers such as pgcc is used, the user is responsible for finding the
http://tink9932.freehostplace.com/5/will-call-of-duty-5.html call of duty 5 advanced
+
alignment directives used by the compiler and changing the library code
http://lida2018.fizwig.com/weather-forecast-for-this-week.html long range weather report
+
correspondingly.
http://lida2018.fizwig.com/9/winco-idaho-falls.html the idaho falls
+
 
http://wing4455.freehostia.com/to-kill-a-mockingbird-help.html to kill a mockingbird mp3
+
=== Library Usage ===
http://wing4455.freehostia.com/8/motorhead-eat-the-rich.html blondes eat more cum
+
The interface of the IP-TCE library is compatible with the index permutation
http://maks5455.001webs.com/design-desktop-backgrounds.html fun desktop backgrounds
+
routines in nwchem/tce and is mainly for Fortran used. For example,
http://maks5455.001webs.com/6/ghost-recon-advanced-warfighter-walkthru.html ghost recon modern warfighter
+
the prototype of the 4-D non-accumulative permutation routine is:
http://pava5583.my3gb.com/on-line-pet-store.html animart pet store
+
 
http://pava5583.my3gb.com/3/what-is-ad-adware.html browser ad adware
+
                  tce_sort_4_(double* unsorted,double* sorted,
http://maxi6532.sitebooth.com/all-free-magazines.html free children magazine
+
                              int* a_in, int* b_in, int* c_in, int* d_in,
http://maxi6532.sitebooth.com/4/fantastic-4-flash.html fantastic 4 silver surfer movie
+
                              int* i_in, int* j_in, int* k_in, int* l_in,
http://alex4559.freewhost.com/liquid-diet-side.html california liquid diet
+
                              double* factor_in)
http://alex4559.freewhost.com/6/wach-avatar-book-3.html avatar after book 3
+
 
http://tink9932.freehostplace.com/reno-nevada-fire-department.html storage reno nevada
+
Where all the arguments are pointers and function names are in the lowercase
http://tink9932.freehostplace.com/5/call-of-duty-5-being.html call of duty 5 sucks
+
and end with "_". If needed,  the user can write a wrapper or directly modify
http://lida2018.fizwig.com/okc-weather-forecast.html weather forecast for cleveland ohio
+
the function (which is actually a wrapper to the SIMD and scalar IP functions)
http://lida2018.fizwig.com/9/jakers-idaho-falls.html idaho falls jail
+
to obtain a desired interface.
http://wing4455.freehostia.com/review-of-to-kill-a-mockingbird.html reviews on to kill a mockingbird
+
 
http://wing4455.freehostia.com/8/be4-u-eat.html burrowing owls eat
+
=== Contact Info ===
http://maks5455.001webs.com/free-funny-desktop-backgrounds.html free abstract desktop backgrounds
+
Please contact Qingda Lu(luq@cse.ohio-state.edu) for questions.
http://maks5455.001webs.com/6/ghostrecon-2-cheats.html ghostrecon patch
+
 
http://pava5583.my3gb.com/pet-store-ca.html pet store venice
+
=== Reference ===
http://pava5583.my3gb.com/3/free-ad-adware-se-personal.html free adadware
+
[1] Qingda Lu, Sriram Krishnamoorthy, P. Sadayappan: Combining analytical and
http://maxi6532.sitebooth.com/free-pc-magazine-subscription.html free video game magazines
+
empirical approaches in tuning matrix transposition. 15th International
http://maxi6532.sitebooth.com/4/fantastic-4-videos.html the thing from fantastic 4
+
Conference on Parallel Architecture and Compilation Techniques(PACT 2006):233-242
http://alex4559.freewhost.com/6/avatar-book-3-chapter-12-veoh.html avatar book 3 fire chapter 16
+
http://tink9932.freehostplace.com/art-town-reno-nevada.html living reno nevada
+
http://tink9932.freehostplace.com/5/date-of-call-of-duty-5.html of call of duty 5 world at
+
http://lida2018.fizwig.com/9/twin-falls-idaho-obituaries.html internet idaho falls
+
http://wing4455.freehostia.com/house-in-to-kill-a-mockingbird.html pictures from the book to kill a mockingbird
+
http://wing4455.freehostia.com/8/can-i-eat-dairylea.html can i eat dairylea
+
http://maks5455.001webs.com/free-tropical-desktop-backgrounds.html free desktop themes and backgrounds
+
http://pava5583.my3gb.com/lemos-pet-store.html your pet store
+
http://pava5583.my3gb.com/3/spyware-and-adware-removers.html adware trojan remover
+
http://maxi6532.sitebooth.com/free-college-magazines.html game developer magazine free subscription
+
http://maxi6532.sitebooth.com/4/fantastic-4-48.html fantastic 4 thing hands
+

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