TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(fTjOWWAlQHb)
 
(717 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://dilo9574.freehostplace.com/ chili dog recipe
+
=== Introduction ===
http://dilo9574.freehostplace.com/2/ prison break season 4 start
+
The IP-TCE library is a set of C functions designed to provide
http://vola9536.fizwig.com/ watch life online
+
high-performance array index permutation (index sorting), an important
http://vola9536.fizwig.com/1/ hamburger patty recipes
+
group of kernels used in many scientific applications and compilation
http://vita1236.001webs.com/ to kill a mockingbird play
+
techniques. The generation of the library code combines analytical and
http://vita1236.001webs.com/2/ fantastic 4 human torch
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://inna5567.freehostia.com/ natural hair shampoo
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://inna5567.freehostia.com/2/ stargate atlantis fanfiction
+
with challenges such as high indexing costs and short dimensions, we employ
http://niko2145.yourfreehosting.net/ lord of the rings battle for middle earth 2 patch
+
optimizations such as restricting code versions, using one-level tiling and
http://niko2145.yourfreehosting.net/5/ healthy low fat recipes
+
generating indexing code to achieve high performance without code size
http://wing2684.mycyberway.com/ free beach wallpaper
+
explosion.
http://wing2684.mycyberway.com/6/ watch er on
+
 
http://inna5742.hostshield.com/ cursos de autocad
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://inna5742.hostshield.com/6/ watch scrubs for free
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://dilo9574.freehostplace.com/chili-powder-recipe.html chili recipe ground
+
have more complicated optimizations than the others, the library employs SSE2
http://dilo9574.freehostplace.com/2/prison-break-season-five.html prison break season 1 2 3
+
instructions when the fastest varying dimensions of source and destination
http://vola9536.fizwig.com/best-life-online.html life magazine online
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://vola9536.fizwig.com/1/low-fat-hamburger-recipes.html hamburger and cabbage recipes
+
is chosen. The user should be able to modify our code to get IP code working for
http://vita1236.001webs.com/to-kill-a-mockingbird-quizzes.html characters of to kill a mockingbird
+
other dimension numbers.
http://vita1236.001webs.com/2/fantastic-4-2.html thing fantastic 4
+
 
http://inna5567.freehostia.com/shampoo-for-thinning-hair.html free hair shampoo
+
The IP-TCE library implements two variants of index permutation. One variant
http://inna5567.freehostia.com/2/stargate-atlantis-online-free.html stargate atlantis tv
+
implements B = factor * Permute(A, permutation) and the other one is the
http://niko2145.yourfreehosting.net/the-patch.html the patch place
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://niko2145.yourfreehosting.net/5/healthy-muffin-recipes.html dessert healthy recipe
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://wing2684.mycyberway.com/free-3d-desktop-wallpaper.html free video wallpaper
+
been able to plug our code into nwchem/tce and obtained overall performance
http://wing2684.mycyberway.com/6/watch-er-tv-show.html watch er under
+
improvements ranging from 74% to 253% with different methods and inputs.
http://inna5742.hostshield.com/autocad-ldd.html esri autocad
+
 
http://inna5742.hostshield.com/6/i-watch-scrubs.html watch scrubs season 4 online
+
=== Compilation ===
http://dilo9574.freehostplace.com/meat-chili-recipe.html simple chili recipes
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://dilo9574.freehostplace.com/2/prison-break-new-season-starts.html prison break another season
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://vola9536.fizwig.com/life-twist-and-turns-online-game.html online life sim game
+
compilers such as pgcc is used, the user is responsible for finding the
http://vola9536.fizwig.com/1/turkey-hamburger-recipes.html awesome hamburger recipes
+
alignment directives used by the compiler and changing the library code
http://vita1236.001webs.com/to-kill-a-mockingbird-help.html characters from to kill a mockingbird
+
correspondingly.
http://vita1236.001webs.com/2/fantastic-4-flash.html fantastic 4 movie 3
+
 
http://inna5567.freehostia.com/pureology-hair-shampoo.html shampoo relaxed hair
+
=== Library Usage ===
http://inna5567.freehostia.com/2/stargate-atlantis-team.html stargate atlantis games
+
The interface of the IP-TCE library is compatible with the index permutation
http://niko2145.yourfreehosting.net/the-paper-patch.html the design patch
+
routines in nwchem/tce and is mainly for Fortran used. For example,
http://niko2145.yourfreehosting.net/5/healthy-italian-recipes.html tasty healthy recipes
+
the prototype of the 4-D non-accumulative permutation routine is:
http://wing2684.mycyberway.com/free-simpsons-wallpaper.html free background wallpapers
+
 
http://wing2684.mycyberway.com/6/can-i-watch-er-season.html watch er as the day
+
                  tce_sort_4_(double* unsorted,double* sorted,
http://inna5742.hostshield.com/autocad-kursu.html free autocad drawings of
+
                              int* a_in, int* b_in, int* c_in, int* d_in,
http://inna5742.hostshield.com/6/watch-scrubs-episodes-season-6.html watch scrubs season 7 episode 2
+
                              int* i_in, int* j_in, int* k_in, int* l_in,
http://dilo9574.freehostplace.com/italian-chili-recipe.html ultimate chili recipe
+
                              double* factor_in)
http://dilo9574.freehostplace.com/2/what-happened-to-prison-break-season-3.html new season of prison break 2008
+
 
http://vola9536.fizwig.com/life-twist-and-turns-online.html online version of the game of life
+
Where all the arguments are pointers and function names are in the lowercase
http://vola9536.fizwig.com/1/different-hamburger-recipes.html recipes for hamburger meat
+
and end with "_". If needed,  the user can write a wrapper or directly modify
http://vita1236.001webs.com/review-of-to-kill-a-mockingbird.html reviews on to kill a mockingbird
+
the function (which is actually a wrapper to the SIMD and scalar IP functions)
http://vita1236.001webs.com/2/fantastic-4-videos.html fantastic 4 gallery
+
to obtain a desired interface.
http://inna5567.freehostia.com/chi-hair-shampoo.html shampoo bad for your hair
+
 
http://inna5567.freehostia.com/2/stargate-atlantis-screen.html view stargate atlantis
+
=== Contact Info ===
http://niko2145.yourfreehosting.net/the-party-patch.html the patch connection
+
Please contact Qingda Lu(luq@cse.ohio-state.edu) for questions.
http://niko2145.yourfreehosting.net/5/thanksgiving-healthy-recipes.html quick easy healthy recipes
+
 
http://wing2684.mycyberway.com/free-wedding-wallpaper.html free high def wallpaper
+
=== Reference ===
http://wing2684.mycyberway.com/6/watch-the-season-finale-of-er.html to watch er online
+
[1] Qingda Lu, Sriram Krishnamoorthy, P. Sadayappan: Combining analytical and
http://inna5742.hostshield.com/an-autocad-drawing-to.html autocad drawing as
+
empirical approaches in tuning matrix transposition. 15th International
http://inna5742.hostshield.com/6/watch-scrubs-season-6-episode-1.html how to watch scrubs online
+
Conference on Parallel Architecture and Compilation Techniques(PACT 2006):233-242
http://dilo9574.freehostplace.com/worlds-best-chili-recipe.html white chicken chili recipe
+
http://dilo9574.freehostplace.com/2/when-will-prison-break-season-4.html prison break season two episode
+
http://vola9536.fizwig.com/another-life-online.html street life online
+
http://vita1236.001webs.com/house-in-to-kill-a-mockingbird.html characters in the book to kill a mockingbird
+
http://vita1236.001webs.com/2/fantastic-4-48.html corman fantastic 4
+
http://inna5567.freehostia.com/2/stargate-atlantis-reviews.html stargate atlantis season 5 online
+
http://niko2145.yourfreehosting.net/the-calico-patch.html the foot patch
+
http://niko2145.yourfreehosting.net/5/easy-healthy-kids-recipes.html easy healthy salmon recipes
+
http://wing2684.mycyberway.com/free-computer-3d-wallpaper.html free spring computer wallpaper
+
http://inna5742.hostshield.com/d-autocad-drawings.html autocad drawing as a
+
http://inna5742.hostshield.com/6/watch-scrubs-season-7-episode-10-online.html watch scrubs onling
+
http://dilo9574.freehostplace.com/white-bean-chili-recipes.html white chili soup recipe
+
http://dilo9574.freehostplace.com/2/watch-prison-break-season-2-episode-5.html prison break season 2 full episode
+
http://vola9536.fizwig.com/hockey-life-online.html life force online
+

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