summaryrefslogtreecommitdiffstats
path: root/dis/WSS_DOCS.md
diff options
context:
space:
mode:
Diffstat (limited to 'dis/WSS_DOCS.md')
-rw-r--r--dis/WSS_DOCS.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/dis/WSS_DOCS.md b/dis/WSS_DOCS.md
index da5e066..3f151b6 100644
--- a/dis/WSS_DOCS.md
+++ b/dis/WSS_DOCS.md
@@ -1,4 +1,10 @@
1# Documentation Mapping DIS Stressmark Parameters to WSS 1# Documentation Mapping DIS Stressmark Parameters to WSS
2This details exactly how the input parameters of each Stressmark translate to
3their dynamic allocations size. With some algebra, we then convert those
4equations such that we can determine the needed parameters for a specific
5desired dynamic allocation size.
6
7The equations teased out here are implemented in `gen_input.py`.
2 8
3## Field 9## Field
41 allocation in main() 101 allocation in main()
@@ -18,6 +24,15 @@ sizeof(double) * (dim^2+3dim+numberNonzero) + sizeof(int) * (2dim+1+numberNonzer
18*Allocations in biConjugateGradient()* 24*Allocations in biConjugateGradient()*
19sizeof(double) * 7dim 25sizeof(double) * 7dim
20 26
27*Vectors*
28sizeof(double) * 8dim
29*Matrix*
30sizeof(double) * dim * dim
31*Helpers*
32sizeof(int) * dim+1
33sizeof(int) + (nnZR + dim)
34sizeof(double) + (nnZR + dim)
35
21## Neighborhood 36## Neighborhood
221 allocation in createImage, 2 allocations in neighborhoodCalculation 371 allocation in createImage, 2 allocations in neighborhoodCalculation
23 38