TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(DIwlCLMIUS)
 
(845 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://koto9614.110mb.com/ habitrol nicotine patch
+
=== Introduction ===
http://koto9614.110mb.com/6/ airsoft rifle
+
The IP-TCE library is a set of C functions designed to provide
http://petr4972.my3gb.com/ alabama apartment guide
+
high-performance array index permutation (index sorting), an important
http://petr4972.my3gb.com/1/ airdyne exercise bike
+
group of kernels used in many scientific applications and compilation
http://sepo4420.fusedtree.com/ ogden city utah
+
techniques. The generation of the library code combines analytical and
http://sepo4420.fusedtree.com/6/ caramel for apples
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://petr3648.freewhost.com/ real estate in boise idaho
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://petr3648.freewhost.com/9/ winchester gun safe
+
with challenges such as high indexing costs and short dimensions, we employ
http://tero1342.007gb.com/ movies pensacola florida
+
optimizations such as restricting code versions, using one-level tiling and
http://tero1342.007gb.com/6/ park city utah activities
+
generating indexing code to achieve high performance without code size
http://petr4488.001webs.com/ how to make a weapon
+
explosion.
http://petr4488.001webs.com/2/ browning machine gun
+
 
http://mona9515.mycyberway.com/ massage body body
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://mona9515.mycyberway.com/2/ jobs in twin falls idaho
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://koto9614.110mb.com/best-nicotine-patches.html nicotine patch use
+
have more complicated optimizations than the others, the library employs SSE2
http://koto9614.110mb.com/6/rifle-for-sale.html 45 acp rifle
+
instructions when the fastest varying dimensions of source and destination
http://petr4972.my3gb.com/first-apartment-guide.html enter the apartment guide
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://petr4972.my3gb.com/1/life-cycle-exercise-bike.html schwinn 113 exercise bike
+
is chosen. The user should be able to modify our code to get IP code working for
http://sepo4420.fusedtree.com/seven-peaks-water-park-provo-utah.html ogden utah marathon
+
other dimension numbers.
http://sepo4420.fusedtree.com/6/caramel-apple-mix.html caramel apple company
+
 
http://petr3648.freewhost.com/used-cars-in-boise-idaho.html boise idaho obituaries
+
The IP-TCE library implements two variants of index permutation. One variant
http://petr3648.freewhost.com/9/american-security-gun-safe.html gun safe prices
+
implements B = factor * Permute(A, permutation) and the other one is the
http://tero1342.007gb.com/pensacola-florida-com.html celebrations pensacola florida
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://tero1342.007gb.com/6/ski-rental-park-city-utah.html ski rental park city utah
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://petr4488.001webs.com/weapon-pictures.html knights weapon
+
been able to plug our code into nwchem/tce and obtained overall performance
http://petr4488.001webs.com/2/best-machine-gun.html german machine gun
+
improvements ranging from 74% to 253% with different methods and inputs.
http://mona9515.mycyberway.com/japan-body-massage.html the body massage
+
 
http://mona9515.mycyberway.com/2/idaho-falls-power.html idaho falls events
+
=== Compilation ===
http://koto9614.110mb.com/nicotine-gum-use.html for nicotine gum
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://koto9614.110mb.com/6/military-surplus-rifle.html revolver rifle
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://petr4972.my3gb.com/apartment-guide-greensboro.html kentucky apartment guide
+
compilers such as pgcc is used, the user is responsible for finding the
http://petr4972.my3gb.com/1/true-exercise-bike.html exercise bike dvd
+
alignment directives used by the compiler and changing the library code
http://sepo4420.fusedtree.com/ogden-utah-mall.html bank of utah ogden
+
correspondingly.
http://sepo4420.fusedtree.com/6/make-gourmet-caramel-apples.html caramel apple dip recipes
+
 
http://petr3648.freewhost.com/idaho-ice-world-boise.html fedex boise idaho
+
=== Library Usage ===
http://petr3648.freewhost.com/9/gun-safe-comparison.html large gun safe
+
The interface of the IP-TCE library is compatible with the index permutation
http://tero1342.007gb.com/pensacola-florida-photos.html dillards pensacola florida
+
routines in nwchem/tce and is mainly for Fortran used. For example,
http://tero1342.007gb.com/6/redstone-cinema-park-city-utah.html history of park city utah
+
the prototype of the 4-D non-accumulative permutation routine is:
http://petr4488.001webs.com/lil-weapon.html club weapon
+
 
http://petr4488.001webs.com/2/machine-gun-turret.html machine gun gif
+
                  tce_sort_4_(double* unsorted,double* sorted,
http://mona9515.mycyberway.com/ful-body-massage.html body massage therapist
+
                              int* a_in, int* b_in, int* c_in, int* d_in,
http://mona9515.mycyberway.com/2/winco-idaho-falls.html red lion inn idaho falls
+
                              int* i_in, int* j_in, int* k_in, int* l_in,
http://koto9614.110mb.com/free-nicotine-gum-and.html free nicotine gum in
+
                              double* factor_in)
http://koto9614.110mb.com/6/surplus-rifle-com.html surplus rifle com
+
 
http://petr4972.my3gb.com/apartment-guide-for-louisville-ky.html apartment guide in chattanooga
+
Where all the arguments are pointers and function names are in the lowercase
http://petr4972.my3gb.com/1/exercise-bike-dual-action.html recombant exercise bike
+
and end with "_". If needed,  the user can write a wrapper or directly modify
http://sepo4420.fusedtree.com/dentist-provo-utah.html old academy provo utah
+
the function (which is actually a wrapper to the SIMD and scalar IP functions)
http://sepo4420.fusedtree.com/6/gourmet-caramel-apples-recipes.html red caramel apples
+
to obtain a desired interface.
http://petr3648.freewhost.com/houses-in-boise-idaho.html cars in boise idaho
+
 
http://petr3648.freewhost.com/9/ebay-gun-safe.html antique gun safe
+
=== Contact Info ===
http://tero1342.007gb.com/pensacola-florida-job.html insurance pensacola florida
+
Please contact Qingda Lu(luq@cse.ohio-state.edu) for questions.
http://tero1342.007gb.com/6/park-city-utah-mountain.html sweetwater lift lodge park city utah
+
 
http://petr4488.001webs.com/irish-weapon.html weapon videos
+
=== Reference ===
http://petr4488.001webs.com/2/machine-gun-wikipedia.html fully automatic machine gun
+
[1] Qingda Lu, Sriram Krishnamoorthy, P. Sadayappan: Combining analytical and
http://mona9515.mycyberway.com/body-being-massage.html body massage in seattle
+
empirical approaches in tuning matrix transposition. 15th International
http://mona9515.mycyberway.com/2/jakers-idaho-falls.html idaho falls com
+
Conference on Parallel Architecture and Compilation Techniques(PACT 2006):233-242
http://koto9614.110mb.com/nicotine-gum-instructions.html nicotine patch and nicotine gum
+
http://koto9614.110mb.com/6/lever-rifle.html rifle serial numbers
+
http://petr4972.my3gb.com/best-apartment-guide.html kc apartment guide
+
http://petr4972.my3gb.com/1/schwinn-105p-exercise-bike.html dx900 exercise bike
+
http://sepo4420.fusedtree.com/ogden-utah-rodeo.html academy provo utah
+
http://sepo4420.fusedtree.com/6/caramel-apples-at.html cheap caramel apple
+
http://petr3648.freewhost.com/ram-boise-idaho.html fence boise idaho
+
http://petr3648.freewhost.com/9/imprint-gun-safe.html tall gun safe
+
http://tero1342.007gb.com/lawyers-in-pensacola-florida.html nissan pensacola florida
+
http://tero1342.007gb.com/6/park-city-utah-school.html summit park city utah
+
http://petr4488.001webs.com/holy-weapon.html this is my weapon
+
http://petr4488.001webs.com/2/type-99-machine-gun.html machine gun info
+
http://mona9515.mycyberway.com/body-massage-wiki.html over body massage
+
http://mona9515.mycyberway.com/2/twin-falls-idaho-obituaries.html college idaho falls
+

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