TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(zUyCXcQbVfvbJdNbX)
 
(846 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://ivan3549.my3gb.com/ last minute travel web site
+
=== Introduction ===
http://ivan3549.my3gb.com/2/ residential real estate listings
+
The IP-TCE library is a set of C functions designed to provide
http://dima2265.001webs.com/ hotels henderson nevada
+
high-performance array index permutation (index sorting), an important
http://dima2265.001webs.com/1/ meadowood mall reno nevada
+
group of kernels used in many scientific applications and compilation
http://deks0120.freehostia.com/ extended weather forecast
+
techniques. The generation of the library code combines analytical and
http://deks0120.freehostia.com/9/ overnight cash advance
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://boni3443.fusedtree.com/ exercise equipments
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://boni3443.fusedtree.com/9/ panama city florida map
+
with challenges such as high indexing costs and short dimensions, we employ
http://sebe6512.freehostguy.com/ to make a game trainer
+
optimizations such as restricting code versions, using one-level tiling and
http://sebe6512.freehostguy.com/7/ victor idaho real estate
+
generating indexing code to achieve high performance without code size
http://dori3215.freewhost.com/ step 2 sweetheart playhouse
+
explosion.
http://dori3215.freewhost.com/1/ stability ball exercises
+
 
http://ivan3219.phreesite.com/ best way to quit smoking
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://ivan3219.phreesite.com/1/ used bmw engines
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://ivan3549.my3gb.com/last-minute-travel-offers.html last minute florida travel deals
+
have more complicated optimizations than the others, the library employs SSE2
http://ivan3549.my3gb.com/2/real-estate-listings-from.html flat fee real estate listings
+
instructions when the fastest varying dimensions of source and destination
http://dima2265.001webs.com/homes-henderson-nevada.html henderson airport nevada
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://dima2265.001webs.com/1/reno-nevada-area-code.html western nevada supply reno
+
is chosen. The user should be able to modify our code to get IP code working for
http://deks0120.freehostia.com/european-weather-forecast.html 2 week weather forecast
+
other dimension numbers.
http://deks0120.freehostia.com/9/american-cash-advance.html fast cash advance loan
+
 
http://boni3443.fusedtree.com/exercise-equipment-mats.html proform exercise equipment
+
The IP-TCE library implements two variants of index permutation. One variant
http://boni3443.fusedtree.com/9/airports-near-panama-city-florida.html where is panama city florida
+
implements B = factor * Permute(A, permutation) and the other one is the
http://sebe6512.freehostguy.com/world-in-conflict-trainer.html wars game trainer
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://sebe6512.freehostguy.com/7/harrison-idaho-real-estate.html idaho real estate mls
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://dori3215.freewhost.com/step-2-picnic-table.html step 2 sand and water table
+
been able to plug our code into nwchem/tce and obtained overall performance
http://dori3215.freewhost.com/1/ab-exercise-ball.html ab exercise ball
+
improvements ranging from 74% to 253% with different methods and inputs.
http://ivan3219.phreesite.com/tips-to-quit-smoking.html why quit smoking
+
 
http://ivan3219.phreesite.com/1/used-bmw-7-series.html used bmw 3 series for sale
+
=== Compilation ===
http://ivan3549.my3gb.com/last-minute-travel-new-york-city.html last minute travel deals airfare
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://ivan3549.my3gb.com/2/green-bay-real-estate-listings.html tahoe real estate listings
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://dima2265.001webs.com/nevada-state-bank-henderson-nv.html green valley library henderson nevada
+
compilers such as pgcc is used, the user is responsible for finding the
http://dima2265.001webs.com/1/reno-nevada-classifieds.html rv parks reno nevada
+
alignment directives used by the compiler and changing the library code
http://deks0120.freehostia.com/weather-forecast-for-this-week.html nc weather forecast
+
correspondingly.
http://deks0120.freehostia.com/9/cash-advance-till-payday.html online cash advance payday loans
+
 
http://boni3443.fusedtree.com/body-solid-exercise-equipment.html exercise and fitness equipment
+
=== Library Usage ===
http://boni3443.fusedtree.com/9/frank-brown-park-panama-city-beach-florida.html zoo world panama city florida
+
The interface of the IP-TCE library is compatible with the index permutation
http://sebe6512.freehostguy.com/game-trainers.html jedi trainer flash game
+
routines in nwchem/tce and is mainly for Fortran used. For example,
http://sebe6512.freehostguy.com/7/rupert-idaho-real-estate.html mullan idaho real estate
+
the prototype of the 4-D non-accumulative permutation routine is:
http://dori3215.freewhost.com/usmle-step-2-secrets.html step 1 step 2  
+
 
http://dori3215.freewhost.com/1/the-exercise-ball.html green exercise ball
+
                  tce_sort_4_(double* unsorted,double* sorted,
http://ivan3219.phreesite.com/how-to-quit-smoking-pot.html natural ways to quit smoking
+
                              int* a_in, int* b_in, int* c_in, int* d_in,
http://ivan3219.phreesite.com/1/buy-a-used-bmw.html used bmw 323i
+
                              int* i_in, int* j_in, int* k_in, int* l_in,
http://ivan3549.my3gb.com/get-last-minute-travel.html get last minute travel deals
+
                              double* factor_in)
http://ivan3549.my3gb.com/2/italy-real-estate-listings.html exit real estate listings
+
 
http://dima2265.001webs.com/city-of-henderson-nevada-parks-and-recreation.html pilates henderson nevada
+
Where all the arguments are pointers and function names are in the lowercase
http://dima2265.001webs.com/1/reno-nevada-fire-department.html reno nevada usa
+
and end with "_". If needed,  the user can write a wrapper or directly modify
http://deks0120.freehostia.com/okc-weather-forecast.html 10 day weather forecast for
+
the function (which is actually a wrapper to the SIMD and scalar IP functions)
http://boni3443.fusedtree.com/9/panama-city-florida-zip-codes.html gulf power panama city florida
+
to obtain a desired interface.
http://sebe6512.freehostguy.com/save-game-trainers.html man pc game trainer
+
 
http://sebe6512.freehostguy.com/7/aberdeen-idaho-real-estate.html cook real estate salmon idaho
+
=== Contact Info ===
http://dori3215.freewhost.com/step-2-naturally-playful-picnic-table.html first aid usmle step 2
+
Please contact Qingda Lu(luq@cse.ohio-state.edu) for questions.
http://dori3215.freewhost.com/1/exercise-ball-weight-limit.html purple exercise ball
+
 
http://ivan3219.phreesite.com/smoking-quit-tips.html tips on quitting smoking
+
=== Reference ===
http://ivan3219.phreesite.com/1/used-bmw-convertible-for-sale.html used bmw in florida
+
[1] Qingda Lu, Sriram Krishnamoorthy, P. Sadayappan: Combining analytical and
http://ivan3549.my3gb.com/last-minute-travel-deal-in.html last minute travel deals las
+
empirical approaches in tuning matrix transposition. 15th International
http://ivan3549.my3gb.com/2/real-estate-company-listings.html real estate listings by zip
+
Conference on Parallel Architecture and Compilation Techniques(PACT 2006):233-242
http://dima2265.001webs.com/henderson-nevada-89015.html henderson nevada community
+
http://dima2265.001webs.com/1/art-town-reno-nevada.html glass reno nevada
+
http://boni3443.fusedtree.com/9/bars-in-panama-city-florida.html seahaven panama city florida
+
http://sebe6512.freehostguy.com/pc-game-trainer.html list of game trainers
+
http://sebe6512.freehostguy.com/7/gate-city-real-estate-idaho.html idaho statesman real estate
+
http://dori3215.freewhost.com/first-aid-for-the-usmle-step-2.html step 2 review
+
http://dori3215.freewhost.com/1/tv-exercise-ball.html exercise ball picture
+
http://ivan3219.phreesite.com/why-should-i-quit-smoking.html how to quit smoking without gaining weight
+
http://ivan3219.phreesite.com/1/used-bmw-325i-for-sale.html used 1993 bmw
+

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