TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(DqutplEZXFuVOJ)
 
(854 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://fracktal89.freehostplace.com/ avernum 4 walkthrough
+
=== Introduction ===
http://fracktal89.freehostplace.com/1/ road map of colorado
+
The IP-TCE library is a set of C functions designed to provide
http://glob1284.gofreeserve.com/ need for speed pro street release date
+
high-performance array index permutation (index sorting), an important
http://glob1284.gofreeserve.com/8/ rainbow six vegas game guide
+
group of kernels used in many scientific applications and compilation
http://dtxd76.freehostia.com/ windows vista dvd recorder
+
techniques. The generation of the library code combines analytical and
http://dtxd76.freehostia.com/5/ call of duty 4 nodvd
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://clim3219.phreesite.com/ of assassins creed 2  
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://clim3219.phreesite.com/2/ beef stroganoff recipes
+
with challenges such as high indexing costs and short dimensions, we employ
http://dgfg788.110mb.com/ cooking light shrimp
+
optimizations such as restricting code versions, using one-level tiling and
http://dgfg788.110mb.com/9/ smallville episode 10
+
generating indexing code to achieve high performance without code size
http://serg8456.sitebooth.com/ microsoft zune desktop theme
+
explosion.
http://serg8456.sitebooth.com/3/ incognitus 2 walkthrough
+
 
http://ilya1249.fusedtree.com/ www ad adware
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://ilya1249.fusedtree.com/1/ californication tabs
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://fracktal89.freehostplace.com/sim-girl-4-walkthrough.html prawn to be wild chapter 4 walkthrough
+
have more complicated optimizations than the others, the library employs SSE2
http://fracktal89.freehostplace.com/1/road-map-of-montana.html map of road island
+
instructions when the fastest varying dimensions of source and destination
http://glob1284.gofreeserve.com/need-for-speed-pro-street-drift.html need for speed pro street music
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://glob1284.gofreeserve.com/8/super-mario-64-game-guide.html pokemon fire red game guide
+
is chosen. The user should be able to modify our code to get IP code working for
http://dtxd76.freehostia.com/a-dvd-with-windows-vista.html windows vista transformation
+
other dimension numbers.
http://dtxd76.freehostia.com/5/pro-street-nodvd.html assassins creed nodvd
+
 
http://clim3219.phreesite.com/does-assassins-creed-2-come.html assassins creed flash
+
The IP-TCE library implements two variants of index permutation. One variant
http://clim3219.phreesite.com/2/mongolian-beef-recipe.html shredded beef recipe
+
implements B = factor * Permute(A, permutation) and the other one is the
http://dgfg788.110mb.com/cooking-light-spinach.html cooking light breakfast
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://dgfg788.110mb.com/9/smallville-episode-blue.html smallville episode summary
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://serg8456.sitebooth.com/batman-desktop-theme.html hp desktop theme
+
been able to plug our code into nwchem/tce and obtained overall performance
http://serg8456.sitebooth.com/3/heist-2-walkthrough.html grow 2 walkthrough
+
improvements ranging from 74% to 253% with different methods and inputs.
http://ilya1249.fusedtree.com/ad-adware-se-professional.html ad adware update
+
 
http://ilya1249.fusedtree.com/1/californication-wikipedia.html red hot chilli peppers californication
+
=== Compilation ===
http://fracktal89.freehostplace.com/mechwarrior-4-mercenaries-walkthrough.html call of duty 4 walkthrough for xbox 360
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://fracktal89.freehostplace.com/1/dvd-road-map.html ts road map
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://glob1284.gofreeserve.com/need-for-speed-pro-street-2008.html need for speed pro street patch 1.2
+
compilers such as pgcc is used, the user is responsible for finding the
http://glob1284.gofreeserve.com/8/tomb-raider-game-guide.html rome total war game guide
+
alignment directives used by the compiler and changing the library code
http://dtxd76.freehostia.com/cd-key-windows-vista.html windows vista build 5384
+
correspondingly.
http://dtxd76.freehostia.com/5/4-nodvd-crack.html empire nodvd
+
 
http://clim3219.phreesite.com/assassins-creed-pc-specs.html assassins creed used
+
=== Library Usage ===
http://clim3219.phreesite.com/2/beef-marinade-recipe.html beef round steak recipe
+
The interface of the IP-TCE library is compatible with the index permutation
http://dgfg788.110mb.com/cooking-light-dinner.html cooking light quiche
+
routines in nwchem/tce and is mainly for Fortran used. For example,
http://dgfg788.110mb.com/9/smallville-episode-synopsis.html smallville season 5 episode guide
+
the prototype of the 4-D non-accumulative permutation routine is:
http://serg8456.sitebooth.com/the-office-desktop-theme.html desktop theme windows
+
 
http://serg8456.sitebooth.com/3/stranded-2-walkthrough.html quest for glory 2 walkthrough
+
                  tce_sort_4_(double* unsorted,double* sorted,
http://ilya1249.fusedtree.com/what-is-ad-adware.html ad adware aware gegen se spy
+
                              int* a_in, int* b_in, int* c_in, int* d_in,
http://ilya1249.fusedtree.com/1/californication-blogspot.html californication photos
+
                              int* i_in, int* j_in, int* k_in, int* l_in,
http://fracktal89.freehostplace.com/devil-may-cry-4-walkthrough-xbox.html to sen bo 4 walkthrough
+
                              double* factor_in)
http://fracktal89.freehostplace.com/1/detroit-road-map.html road map of washington dc
+
 
http://glob1284.gofreeserve.com/need-for-speed-pro-street-saved-games.html need for speed pro street 1.2
+
Where all the arguments are pointers and function names are in the lowercase
http://glob1284.gofreeserve.com/8/rainbow-six-vegas-2-game-guide.html super mario 64 ds game guide
+
and end with "_". If needed,  the user can write a wrapper or directly modify
http://dtxd76.freehostia.com/windows-vista-beta-2-serial-number.html windows vista home basic dvd
+
the function (which is actually a wrapper to the SIMD and scalar IP functions)
http://dtxd76.freehostia.com/5/complete-nodvd.html sim city societies nodvd
+
to obtain a desired interface.
http://clim3219.phreesite.com/assassins-creed-requirments.html assassins creed for the pc
+
 
http://clim3219.phreesite.com/2/beef-and-gravy-recipe.html beef round tip roast recipe
+
=== Contact Info ===
http://dgfg788.110mb.com/cooking-light-online.html cooking light forum
+
Please contact Qingda Lu(luq@cse.ohio-state.edu) for questions.
http://dgfg788.110mb.com/9/smallville-episode-heat.html smallville episode index
+
 
http://serg8456.sitebooth.com/dune-desktop-theme.html band desktop theme
+
=== Reference ===
http://serg8456.sitebooth.com/3/virtual-villager-2-walkthrough.html ratchet and clank 2 walkthrough
+
[1] Qingda Lu, Sriram Krishnamoorthy, P. Sadayappan: Combining analytical and
http://ilya1249.fusedtree.com/free-ad-adware-se-personal.html ad adware se pro
+
empirical approaches in tuning matrix transposition. 15th International
http://ilya1249.fusedtree.com/1/californication-women.html californication women
+
Conference on Parallel Architecture and Compilation Techniques(PACT 2006):233-242
http://fracktal89.freehostplace.com/walkthrough-of-call-of-duty-4.html mission 4 walkthrough
+
http://fracktal89.freehostplace.com/1/it-road-map.html map road map
+
http://glob1284.gofreeserve.com/need-for-speed-pro-street-promo.html need for speed pro street computer
+
http://glob1284.gofreeserve.com/8/simpsons-game-ds-guide.html other age game guide
+
http://dtxd76.freehostia.com/compare-windows-vista-home.html windows vista home basic reviews
+
http://dtxd76.freehostia.com/5/nodvd-leopard.html pets nodvd
+
http://clim3219.phreesite.com/assassins-creed-xbox-achievements.html assassins creed cheats on xbox 360
+
http://clim3219.phreesite.com/2/sirloin-roast-beef-recipe.html rump roast beef recipe
+
http://dgfg788.110mb.com/cooking-light-may-2008.html cooking light bulletin board
+
http://dgfg788.110mb.com/9/smallville-season-6-episode-guide.html smallville episdoe guide
+
http://serg8456.sitebooth.com/desktop-theme-search.html my desktop theme
+
http://serg8456.sitebooth.com/3/shenmue-2-walkthrough.html metriod prime 2 walkthrough
+
http://ilya1249.fusedtree.com/spyware-and-adware-removers.html adware remover software
+
http://ilya1249.fusedtree.com/1/californication-punch.html californication filming
+
http://glob1284.gofreeserve.com/8/westward-2-game-guide.html end game guide
+
http://serg8456.sitebooth.com/3/theif-2-walkthrough.html las vegas 2 walkthrough
+

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