TCE-IP

From HPCRL Wiki
(Difference between revisions)
Jump to: navigation, search
(SrceZlZfWAwZpTH)
 
(719 intermediate revisions by 4 users not shown)
Line 1: Line 1:
http://carson6545.sitebooth.com/ low fat breakfast recipes
+
=== Introduction ===
http://carson6545.sitebooth.com/2/ watch survivor episodes
+
The IP-TCE library is a set of C functions designed to provide
http://vola0011.freehostia.com/ grilled chicken recipies
+
high-performance array index permutation (index sorting), an important
http://vola0011.freehostia.com/6/ maytag portable air conditioner
+
group of kernels used in many scientific applications and compilation
http://lida1213.phreesite.com/ personal professional development plan
+
techniques. The generation of the library code combines analytical and
http://lida1213.phreesite.com/5/ watch me batman
+
empirical approaches. The details of how to generate the efficient 2-D IP
http://lida5476.101freehost.com/ divx player for pc
+
(Matrix Transposition) code can be found in [1]. For high-dimensional arrays,
http://lida5476.101freehost.com/1/ soul calibur 3
+
with challenges such as high indexing costs and short dimensions, we employ
http://wing9519.700megs.com/ easy chicken noodle soup recipe
+
optimizations such as restricting code versions, using one-level tiling and
http://wing9519.700megs.com/5/ hai hair straightener
+
generating indexing code to achieve high performance without code size
http://iren3915.001webs.com/ kitchen design tool
+
explosion.
http://iren3915.001webs.com/7/ how to date hanabi in naruto ultimate ninja 3
+
 
http://iren3491.freewhost.com/ portable microsoft office 2003
+
The source code we provide does index permutation on 2-D,4-D and 6-D
http://iren3491.freewhost.com/6/ birth defects genetic
+
64-bit floating point arrays on IA-32 machines. Except for the 2-D functions that
http://carson6545.sitebooth.com/low-calorie-breakfast-recipes.html breakfast cake recipes
+
have more complicated optimizations than the others, the library employs SSE2
http://carson6545.sitebooth.com/2/watch-survivor-fiji-online.html watch survivor pearl
+
instructions when the fastest varying dimensions of source and destination
http://vola0011.freehostia.com/oven-chicken-recipies.html bake chicken recipies
+
arrays are multiples of vector sizes in elements, otherwise a scalar version
http://vola0011.freehostia.com/6/portable-auto-air-conditioner.html home portable air conditioner
+
is chosen. The user should be able to modify our code to get IP code working for
http://lida1213.phreesite.com/example-of-personal-development-plan.html pda personal plan
+
other dimension numbers.
http://lida1213.phreesite.com/5/watch-batman-cartoon.html watch batman 1966
+
 
http://lida5476.101freehost.com/divx-mobile-player-089.html divx mobile player 0.89
+
The IP-TCE library implements two variants of index permutation. One variant
http://lida5476.101freehost.com/1/soul-calibur-3-weapons.html soul calibur com
+
implements B = factor * Permute(A, permutation) and the other one is the
http://wing9519.700megs.com/chicken-soup-casserole-recipe.html chicken soup recipe celery
+
accumulative version B = B + factor * Permute(A, permutation). Doing so makes
http://wing9519.700megs.com/5/wet-hair-straighteners.html hot tools hair straightener
+
our code compatible with the index permutation routines in nwchem/tce. We have
http://iren3915.001webs.com/interactive-kitchen-design.html kitchen design idea
+
been able to plug our code into nwchem/tce and obtained overall performance
http://iren3915.001webs.com/7/how-to-get-hanabi-hyuuga-in-naruto-ultimate-ninja-3.html naruto ultimate ninja 3 scarred headband
+
improvements ranging from 74% to 253% with different methods and inputs.
http://iren3491.freewhost.com/portable-ashampoo-office.html office 07 portable
+
 
http://iren3491.freewhost.com/6/causing-birth-defects.html hereditary birth defects
+
=== Compilation ===
http://carson6545.sitebooth.com/breakfast-pie-recipes.html zone breakfast recipes
+
The library code can be compiled by either the Intel C compiler or the GNU C
http://carson6545.sitebooth.com/2/to-watch-survivor-online.html watch survivor outback
+
compiler. We used icc 10.1 and gcc 4.1.2 when testing the code. If other
http://vola0011.freehostia.com/chicken-recipies-com.html diabetic chicken recipies
+
compilers such as pgcc is used, the user is responsible for finding the
http://vola0011.freehostia.com/6/daewoo-portable-air-conditioner.html install portable air conditioner
+
alignment directives used by the compiler and changing the library code
http://lida1213.phreesite.com/personal-saving-plan.html developing a personal development plan
+
correspondingly.
http://lida1213.phreesite.com/5/watch-batman-trailer.html batman dark night watch
+
 
http://lida5476.101freehost.com/divx-player-with-usb.html divx player with usb
+
=== Library Usage ===
http://lida5476.101freehost.com/1/soul-calibur-3-moves.html soul calibur 3 moves
+
The interface of the IP-TCE library is compatible with the index permutation
http://wing9519.700megs.com/hearty-chicken-soup-recipe.html hearty chicken soup recipe
+
routines in nwchem/tce and is mainly for Fortran used. For example,
http://wing9519.700megs.com/5/ceramic-hair-straightener-reviews.html futura hair straightener
+
the prototype of the 4-D non-accumulative permutation routine is:
http://iren3915.001webs.com/kitchen-design-programs.html italian kitchen designs
+
 
http://iren3915.001webs.com/7/naruto-ultimate-ninja-clash.html naruto clash of ninja revolution2
+
                  tce_sort_4_(double* unsorted,double* sorted,
http://iren3491.freewhost.com/portable-office-equipment.html portable office computers
+
                              int* a_in, int* b_in, int* c_in, int* d_in,
http://iren3491.freewhost.com/6/india-birth-defects.html genetics birth defects
+
                              int* i_in, int* j_in, int* k_in, int* l_in,
http://carson6545.sitebooth.com/betty-crocker-breakfast-recipes.html easy breakfast recipes for kids
+
                              double* factor_in)
http://carson6545.sitebooth.com/2/watch-survivor-vanuatu.html watch past survivor episodes
+
 
http://vola0011.freehostia.com/fast-and-easy-chicken-recipies.html mushroom chicken recipie
+
Where all the arguments are pointers and function names are in the lowercase
http://lida1213.phreesite.com/a-personal-five-year-plan.html important to plan personal
+
and end with "_". If needed,  the user can write a wrapper or directly modify
http://lida1213.phreesite.com/5/how-can-i-watch-batman.html watch batman and robin movie online
+
the function (which is actually a wrapper to the SIMD and scalar IP functions)
http://lida5476.101freehost.com/divx-web-player-problem.html divx web player code
+
to obtain a desired interface.
http://lida5476.101freehost.com/1/rock-soul-calibur.html soul calibur character
+
 
http://wing9519.700megs.com/chicken-foot-soup-recipe.html chicken soup recipe video
+
=== Contact Info ===
http://wing9519.700megs.com/5/hair-straighteners-australia.html corioliss ceramic hair straightener
+
Please contact Qingda Lu(luq@cse.ohio-state.edu) for questions.
http://iren3915.001webs.com/7/naruto-clash-of-ninja-2-sasuke.html naruto clash of ninja revoltuion
+
 
http://iren3491.freewhost.com/portable-office-panels.html used portable office buildings
+
=== Reference ===
http://iren3491.freewhost.com/6/national-birth-defect.html birth defect images
+
[1] Qingda Lu, Sriram Krishnamoorthy, P. Sadayappan: Combining analytical and
http://carson6545.sitebooth.com/easy-and-healthy-breakfast-recipes.html breakfast casserole receipes
+
empirical approaches in tuning matrix transposition. 15th International
http://carson6545.sitebooth.com/2/watch-survivor-season-3.html watch and 8 function survivor tool set f500gwbsmt lc
+
Conference on Parallel Architecture and Compilation Techniques(PACT 2006):233-242
http://vola0011.freehostia.com/stew-chicken-recipie.html basil chicken recipie
+
http://lida1213.phreesite.com/motors-personal-savings-plan.html personal plan sample
+
http://lida1213.phreesite.com/5/watch-batman-and-robin-the-movie.html watch batman tech
+
http://lida5476.101freehost.com/divx-web-player-for-firefox.html media player 9 divx
+
http://lida5476.101freehost.com/1/soul-caliber.html soul calibur ii xbox
+
http://wing9519.700megs.com/of-chicken-soup-onion-recipe.html simple chicken noodle soup recipe
+
http://wing9519.700megs.com/5/hair-straightener-ion.html ceramic tourmaline flat hair iron straightener
+
http://iren3915.001webs.com/7/sharingan-sasuke-in-naruto-clash-of-ninja-2.html naruto ninja council controls
+
http://iren3491.freewhost.com/6/birth-defect-pics.html birth defects in china
+
http://lida5476.101freehost.com/divx-in-windows-media-player.html divx on windows media player
+

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