Index Sets and Vectorization
Conference
·
OSTI ID:1046799
Vectorization is data parallelism (SIMD, SIMT, etc.) - extension of ISA enabling the same instruction to be performed on multiple data items simultaeously. Many/most CPUs support vectorization in some form. Vectorization is difficult to enable, but can yield large efficiency gains. Extra programmer effort is required because: (1) not all algorithms can be vectorized (regular algorithm structure and fine-grain parallelism must be used); (2) most CPUs have data alignment restrictions for load/store operations (obey or risk incorrect code); (3) special directives are often needed to enable vectorization; and (4) vector instructions are architecture-specific. Vectorization is the best way to optimize for power and performance due to reduced clock cycles. When data is organized properly, a vector load instruction (i.e. movaps) can replace 'normal' load instructions (i.e. movsd). Vector operations can potentially have a smaller footprint in the instruction cache when fewer instructions need to be executed. Hybrid index sets insulate users from architecture specific details. We have applied hybrid index sets to achieve optimal vectorization. We can extend this concept to handle other programming models.
- Research Organization:
- Lawrence Livermore National Laboratory (LLNL), Livermore, CA
- Sponsoring Organization:
- USDOE
- DOE Contract Number:
- W-7405-ENG-48
- OSTI ID:
- 1046799
- Report Number(s):
- LLNL-CONF-543971
- Country of Publication:
- United States
- Language:
- English
Similar Records
Generating and executing programs for a floating point single instruction multiple data instruction set architecture
Performance of GeantV EM Physics Models
Summer Internship Report: ARA2 Benchmarking
Patent
·
Tue Apr 16 00:00:00 EDT 2013
·
OSTI ID:1083443
Performance of GeantV EM Physics Models
Journal Article
·
Wed Nov 22 19:00:00 EST 2017
· Journal of Physics. Conference Series
·
OSTI ID:1358095
Summer Internship Report: ARA2 Benchmarking
Technical Report
·
Fri Aug 01 00:00:00 EDT 2025
·
OSTI ID:2997408