Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 822 Bytes

Design.md

File metadata and controls

19 lines (10 loc) · 822 Bytes

High-Level Design

Next picture shows very high-level design of components interaction, starting from main and ending with data accesses in Grids.

High-Level

Library Dependencies

Next picture shows components dependencies and which libs are linked.

Libs

Code Reusage CPU/GPU

In order to minimize code duplication between CPU and GPU, code of InternalScheme is shared between CPU and GPU. Core of InternalScheme is the same for both, however, each one has to contain specific methods.

InternalScheme.inc.h is template file, using interface types (like IType). InternalScheme.specific.h contains code specific for CPU of GPU. Next picture shows code reusage between CPU and GPU (see InternalScheme.h).

InternalScheme