summaryrefslogtreecommitdiffstats
path: root/dis/WSS_DOCS.md
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-17 14:54:28 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-17 14:54:28 -0400
commitcef282a003b65df452a51f12773799f83c3cd627 (patch)
tree4be64982f8184df9b3ad23c4b7a3fa04b498ed30 /dis/WSS_DOCS.md
parenta3886552003d031acb9039e920b7c9ddce946ad6 (diff)
Fix WSS -> argument generation for Matrix and tune others
Now as used for (rejected) RTSS'20 paper
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