Download presentation
Presentation is loading. Please wait.
1
Object - Oriented Programming Language
Programmability C++ Object - Oriented Programming Language
4
Expression Template Engine
Mechanization <PETE> C + A B Portable Expression Template Engine
5
Generalized Array Indexing
Reduction Semantics Psi - Calculus Generalized Array Indexing
6
Memory Mapping Loop Unrolling Processor Mapping
7
Compile Time Loop Translation
Performance Efficient Loops Compile Time Loop Translation
8
Processor & Memory Mapping Σ I=0 processor 0 X processor 1
CACHE (T H ) -1 … < > < > < > < > < > < > < > < > < > < > X < > < > < > < > < > < > < > < > processor 1 Processor & Memory Mapping
9
Operations shift take rotate
10
Array.h template <class T = int> class Array { . . .
template<class RHS> Array &operator=(const Expression<RHS> &rhs) for(long i=0; i<this->size; i++) d[i] = forEach(rhs, EvalLeaf1(i), OpCombine()); return *this; //equivalent to: a.d[i] = b.d[i]+c.d[i]+d.d[i] } private: T * d; vector <int> shape; long size;
11
Array.h integrates with <PETE> Psi-Calculus platform
N – dimensional capability ( required for processor / memory mapping )
12
Array.h Results : Comparable to Hand Coded C
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.