Skip to content

Commit

Permalink
Added configuration patches for CRTP synthetic case study
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Abelt committed Oct 13, 2023
1 parent a6b6cb5 commit 0c04520
Show file tree
Hide file tree
Showing 16 changed files with 272 additions and 0 deletions.
19 changes: 19 additions & 0 deletions SynthCTCRTP/default-transformer_bounds-checking-storage.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
description: Changes the configuration of the SynthCTCRTP example to use the DefaultTransformer
and BoundsCheckingStorage
feature_tags:
- DefaultTransformer
- BoundsCheckingStorage
- SynthCTCRTP
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: default-transformer_bounds-checking-storage.patch
project_name: SynthCTCRTP
shortname: default-transformer_bounds-checking-storage
tags:
- configuration
- compile-time
- DefaultTransformer
- BoundsCheckingStorage
- SynthCTCRTP
- synthetic
15 changes: 15 additions & 0 deletions SynthCTCRTP/default-transformer_bounds-checking-storage.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/projects/SynthCTCRTP/main.cpp b/projects/SynthCTCRTP/main.cpp
index 2ae6df0..3585880 100644
--- a/projects/SynthCTCRTP/main.cpp
+++ b/projects/SynthCTCRTP/main.cpp
@@ -16,8 +16,8 @@ void runAlgorithm(Storage<STy> &S, Transformer<TTy> &T) {
}

int main(/* int argc, char *argv[] */) {
- using StorageTy = DefaultStorage;
- using TransformerTy = DefaultTransformer;
+ using StorageTy = BoundsCheckingStorage;
+ using TransformerTy = DefaultTransformer;

StorageTy S{};
TransformerTy T{};
19 changes: 19 additions & 0 deletions SynthCTCRTP/default-transformer_caching-storage.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
description: Changes the configuration of the SynthCTCRTP example to use the DefaultTransformer
and CachingStorage
feature_tags:
- DefaultTransformer
- CachingStorage
- SynthCTCRTP
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: default-transformer_caching-storage.patch
project_name: SynthCTCRTP
shortname: default-transformer_caching-storage
tags:
- configuration
- compile-time
- DefaultTransformer
- CachingStorage
- SynthCTCRTP
- synthetic
15 changes: 15 additions & 0 deletions SynthCTCRTP/default-transformer_caching-storage.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/projects/SynthCTCRTP/main.cpp b/projects/SynthCTCRTP/main.cpp
index 2ae6df0..3585880 100644
--- a/projects/SynthCTCRTP/main.cpp
+++ b/projects/SynthCTCRTP/main.cpp
@@ -16,8 +16,8 @@ void runAlgorithm(Storage<STy> &S, Transformer<TTy> &T) {
}

int main(/* int argc, char *argv[] */) {
- using StorageTy = DefaultStorage;
- using TransformerTy = DefaultTransformer;
+ using StorageTy = CachingStorage;
+ using TransformerTy = DefaultTransformer;

StorageTy S{};
TransformerTy T{};
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
description: Changes the configuration of the SynthCTCRTP example to use the PreconditioningTransformer
and BoundsCheckingStorage
feature_tags:
- PreconditioningTransformer
- BoundsCheckingStorage
- SynthCTCRTP
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: preconditioning-transformer_bounds-checking-storage.patch
project_name: SynthCTCRTP
shortname: preconditioning-transformer_bounds-checking-storage
tags:
- configuration
- compile-time
- PreconditioningTransformer
- BoundsCheckingStorage
- SynthCTCRTP
- synthetic
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/projects/SynthCTCRTP/main.cpp b/projects/SynthCTCRTP/main.cpp
index 2ae6df0..3585880 100644
--- a/projects/SynthCTCRTP/main.cpp
+++ b/projects/SynthCTCRTP/main.cpp
@@ -16,8 +16,8 @@ void runAlgorithm(Storage<STy> &S, Transformer<TTy> &T) {
}

int main(/* int argc, char *argv[] */) {
- using StorageTy = DefaultStorage;
- using TransformerTy = DefaultTransformer;
+ using StorageTy = BoundsCheckingStorage;
+ using TransformerTy = PreconditioningTransformer;

StorageTy S{};
TransformerTy T{};
19 changes: 19 additions & 0 deletions SynthCTCRTP/preconditioning-transformer_caching-storage.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
description: Changes the configuration of the SynthCTCRTP example to use the PreconditioningTransformer
and CachingStorage
feature_tags:
- PreconditioningTransformer
- CachingStorage
- SynthCTCRTP
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: preconditioning-transformer_caching-storage.patch
project_name: SynthCTCRTP
shortname: preconditioning-transformer_caching-storage
tags:
- configuration
- compile-time
- PreconditioningTransformer
- CachingStorage
- SynthCTCRTP
- synthetic
15 changes: 15 additions & 0 deletions SynthCTCRTP/preconditioning-transformer_caching-storage.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/projects/SynthCTCRTP/main.cpp b/projects/SynthCTCRTP/main.cpp
index 2ae6df0..3585880 100644
--- a/projects/SynthCTCRTP/main.cpp
+++ b/projects/SynthCTCRTP/main.cpp
@@ -16,8 +16,8 @@ void runAlgorithm(Storage<STy> &S, Transformer<TTy> &T) {
}

int main(/* int argc, char *argv[] */) {
- using StorageTy = DefaultStorage;
- using TransformerTy = DefaultTransformer;
+ using StorageTy = CachingStorage;
+ using TransformerTy = PreconditioningTransformer;

StorageTy S{};
TransformerTy T{};
19 changes: 19 additions & 0 deletions SynthCTCRTP/preconditioning-transformer_default-storage.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
description: Changes the configuration of the SynthCTCRTP example to use the PreconditioningTransformer
and DefaultStorage
feature_tags:
- PreconditioningTransformer
- DefaultStorage
- SynthCTCRTP
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: preconditioning-transformer_default-storage.patch
project_name: SynthCTCRTP
shortname: preconditioning-transformer_default-storage
tags:
- configuration
- compile-time
- PreconditioningTransformer
- DefaultStorage
- SynthCTCRTP
- synthetic
15 changes: 15 additions & 0 deletions SynthCTCRTP/preconditioning-transformer_default-storage.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/projects/SynthCTCRTP/main.cpp b/projects/SynthCTCRTP/main.cpp
index 2ae6df0..3585880 100644
--- a/projects/SynthCTCRTP/main.cpp
+++ b/projects/SynthCTCRTP/main.cpp
@@ -16,8 +16,8 @@ void runAlgorithm(Storage<STy> &S, Transformer<TTy> &T) {
}

int main(/* int argc, char *argv[] */) {
- using StorageTy = DefaultStorage;
- using TransformerTy = DefaultTransformer;
+ using StorageTy = DefaultStorage;
+ using TransformerTy = PreconditioningTransformer;

StorageTy S{};
TransformerTy T{};
19 changes: 19 additions & 0 deletions SynthCTCRTP/smoothing-transformer_bounds-checking-storage.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
description: Changes the configuration of the SynthCTCRTP example to use the SmoothingTransformer
and BoundsCheckingStorage
feature_tags:
- SmoothingTransformer
- BoundsCheckingStorage
- SynthCTCRTP
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: smoothing-transformer_bounds-checking-storage.patch
project_name: SynthCTCRTP
shortname: smoothing-transformer_bounds-checking-storage
tags:
- configuration
- compile-time
- SmoothingTransformer
- BoundsCheckingStorage
- SynthCTCRTP
- synthetic
15 changes: 15 additions & 0 deletions SynthCTCRTP/smoothing-transformer_bounds-checking-storage.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/projects/SynthCTCRTP/main.cpp b/projects/SynthCTCRTP/main.cpp
index 2ae6df0..3585880 100644
--- a/projects/SynthCTCRTP/main.cpp
+++ b/projects/SynthCTCRTP/main.cpp
@@ -16,8 +16,8 @@ void runAlgorithm(Storage<STy> &S, Transformer<TTy> &T) {
}

int main(/* int argc, char *argv[] */) {
- using StorageTy = DefaultStorage;
- using TransformerTy = DefaultTransformer;
+ using StorageTy = BoundsCheckingStorage;
+ using TransformerTy = SmoothingTransformer;

StorageTy S{};
TransformerTy T{};
19 changes: 19 additions & 0 deletions SynthCTCRTP/smoothing-transformer_caching-storage.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
description: Changes the configuration of the SynthCTCRTP example to use the SmoothingTransformer
and CachingStorage
feature_tags:
- SmoothingTransformer
- CachingStorage
- SynthCTCRTP
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: smoothing-transformer_caching-storage.patch
project_name: SynthCTCRTP
shortname: smoothing-transformer_caching-storage
tags:
- configuration
- compile-time
- SmoothingTransformer
- CachingStorage
- SynthCTCRTP
- synthetic
15 changes: 15 additions & 0 deletions SynthCTCRTP/smoothing-transformer_caching-storage.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/projects/SynthCTCRTP/main.cpp b/projects/SynthCTCRTP/main.cpp
index 2ae6df0..3585880 100644
--- a/projects/SynthCTCRTP/main.cpp
+++ b/projects/SynthCTCRTP/main.cpp
@@ -16,8 +16,8 @@ void runAlgorithm(Storage<STy> &S, Transformer<TTy> &T) {
}

int main(/* int argc, char *argv[] */) {
- using StorageTy = DefaultStorage;
- using TransformerTy = DefaultTransformer;
+ using StorageTy = CachingStorage;
+ using TransformerTy = SmoothingTransformer;

StorageTy S{};
TransformerTy T{};
19 changes: 19 additions & 0 deletions SynthCTCRTP/smoothing-transformer_default-storage.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
description: Changes the configuration of the SynthCTCRTP example to use the SmoothingTransformer
and DefaultStorage
feature_tags:
- SmoothingTransformer
- DefaultStorage
- SynthCTCRTP
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: smoothing-transformer_default-storage.patch
project_name: SynthCTCRTP
shortname: smoothing-transformer_default-storage
tags:
- configuration
- compile-time
- SmoothingTransformer
- DefaultStorage
- SynthCTCRTP
- synthetic
15 changes: 15 additions & 0 deletions SynthCTCRTP/smoothing-transformer_default-storage.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/projects/SynthCTCRTP/main.cpp b/projects/SynthCTCRTP/main.cpp
index 2ae6df0..3585880 100644
--- a/projects/SynthCTCRTP/main.cpp
+++ b/projects/SynthCTCRTP/main.cpp
@@ -16,8 +16,8 @@ void runAlgorithm(Storage<STy> &S, Transformer<TTy> &T) {
}

int main(/* int argc, char *argv[] */) {
- using StorageTy = DefaultStorage;
- using TransformerTy = DefaultTransformer;
+ using StorageTy = DefaultStorage;
+ using TransformerTy = SmoothingTransformer;

StorageTy S{};
TransformerTy T{};

0 comments on commit 0c04520

Please sign in to comment.