THIS AND THAT Universal Modeling Language UML For
- Slides: 16
THIS AND THAT
Universal Modeling Language UML • For designing software • Standardized visual language for OO programming or for DB • Tools can translate to prototype codes • IBM Copy Righted: https: //www. ibm. com/developerworks/rational/library/769. html • Many free tools online, e. g. , http: //www. umlet. com/
UML: A class diagram architecture Three parts each: Name, Parameters, Methods https: //www. ibm. com/developerworks/rational/library/769. html
UML: Typical class inheritance Many-to-Many relationship in C++: https: //stackoverflow. com/questions/1128144/c-maps-for-many-to-many
UML: Use case Diagram https: //www. ibm. com/developerworks/rational/library/769. html
UML: Statechart Diagram https: //www. ibm. com/developerworks/rational/library/769. html
UML Uses • Component diagram • Class diagram, Package diagram, … • Use-case diagram • Statechart diagram • Sequence diagram • Activity diagram • Deployment diagram
GPU computing
Two major components of a processor Instruction Pipeline ARITHMATIC LOGIC UNIT Data Pipeline RANDOM ACCESS MEMORY
Single core machine: Data Pipeline Instruction Pipeline ARITHMATIC LOGIC UNIT RANDOM ACCESS MEMORY One instruction one data
[Single / Multiple] + [Instruction / Memory] Instruction Pipeline ARITHMATIC LOGIC UNIT Data Pipeline RANDOM ACCESS MEMORY
Single Instruction Single Data (SISD): Atypical single core classical machine Data Pipeline Instruction Pipeline ARITHMATIC LOGIC UNIT RANDOM ACCESS MEMORY One instruction one data
Single Instruction Multiple Data (SIMD): GPU is this type of processor Instruction Pipeline Data Pipeline Vector of data Simple-ALUs One instruction multiple data
Multiple Instruction Multiple Data (MIMD): Multi-core machine with Multi-threaded computing Instruction Pipeline Data ALU Multiple instruction Multiple data MISD concept is not useful
GPU: Data Pipeline Instruction Pipeline One instruction multiple data Processing Unit Shared Instruction Register Processing Unit Vector of data
GPU: PU Shared Instruction Register PU Vector of data PU // on CPU for (int i=1; i<N; ++i) c[i] = a[i] + b[i]; // on GPU __global__ void vector. Add(float *a, float *b, float *c) { int i = thread. Idx. x; c[i] = a[i] + b[i]; }
- Uml class diagram
- Universal modelling language
- Universal modeling language
- Helen erickson nursing theory
- Dimensional modeling vs relational modeling
- Ngoại tâm thu thất chùm đôi
- Block xoang nhĩ độ 2 type 1
- Thơ thất ngôn tứ tuyệt đường luật
- Thơ thất ngôn tứ tuyệt đường luật
- Chiến lược kinh doanh quốc tế của walmart
- Tìm vết của mặt phẳng
- Con hãy đưa tay khi thấy người vấp ngã
- Tôn thất thuyết là ai
- Gây tê cơ vuông thắt lưng
- Sau thất bại ở hồ điển triệt
- Superstruture
- Structural modeling in uml