diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-17 14:54:28 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-17 14:54:28 -0400 |
| commit | cef282a003b65df452a51f12773799f83c3cd627 (patch) | |
| tree | 4be64982f8184df9b3ad23c4b7a3fa04b498ed30 /dis/WSS_DOCS.md | |
| parent | a3886552003d031acb9039e920b7c9ddce946ad6 (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.md | 15 |
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 |
| 2 | This details exactly how the input parameters of each Stressmark translate to | ||
| 3 | their dynamic allocations size. With some algebra, we then convert those | ||
| 4 | equations such that we can determine the needed parameters for a specific | ||
| 5 | desired dynamic allocation size. | ||
| 6 | |||
| 7 | The equations teased out here are implemented in `gen_input.py`. | ||
| 2 | 8 | ||
| 3 | ## Field | 9 | ## Field |
| 4 | 1 allocation in main() | 10 | 1 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()* |
| 19 | sizeof(double) * 7dim | 25 | sizeof(double) * 7dim |
| 20 | 26 | ||
| 27 | *Vectors* | ||
| 28 | sizeof(double) * 8dim | ||
| 29 | *Matrix* | ||
| 30 | sizeof(double) * dim * dim | ||
| 31 | *Helpers* | ||
| 32 | sizeof(int) * dim+1 | ||
| 33 | sizeof(int) + (nnZR + dim) | ||
| 34 | sizeof(double) + (nnZR + dim) | ||
| 35 | |||
| 21 | ## Neighborhood | 36 | ## Neighborhood |
| 22 | 1 allocation in createImage, 2 allocations in neighborhoodCalculation | 37 | 1 allocation in createImage, 2 allocations in neighborhoodCalculation |
| 23 | 38 | ||
