Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds configuration patches for SynthPI* case studies. #11

Merged
merged 4 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions SynthIPCombined/config_fastmode.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: "Patch for configuration (fastmode)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_fastmode.patch
project_name: FeaturePerfCSCollection
shortname: config_fastmode
feature_tags:
- fastmode
- no_smallmode
13 changes: 13 additions & 0 deletions SynthIPCombined/config_fastmode.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPCombined/main.cpp b/projects/SynthIPCombined/main.cpp
index b8a13df..d4f8fbf 100644
--- a/projects/SynthIPCombined/main.cpp
+++ b/projects/SynthIPCombined/main.cpp
@@ -616,7 +616,7 @@ int main(int argc, char **argv) {
decompress = true;
}

- using MyConfig = YALZ77Configurator<false, false>;
+ using MyConfig = YALZ77Configurator<true, false>;

const size_t BUFSIZE = getBufsize(MyConfig::small, decompress);

11 changes: 11 additions & 0 deletions SynthIPCombined/config_fastmode_smallmode.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: "Patch for configuration (fastmode, smallmode)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_fastmode_smallmode.patch
project_name: FeaturePerfCSCollection
shortname: config_fastmode_smallmode
feature_tags:
- fastmode
- smallmode
13 changes: 13 additions & 0 deletions SynthIPCombined/config_fastmode_smallmode.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPCombined/main.cpp b/projects/SynthIPCombined/main.cpp
index b8a13df..33417d7 100644
--- a/projects/SynthIPCombined/main.cpp
+++ b/projects/SynthIPCombined/main.cpp
@@ -616,7 +616,7 @@ int main(int argc, char **argv) {
decompress = true;
}

- using MyConfig = YALZ77Configurator<false, false>;
+ using MyConfig = YALZ77Configurator<true, true>;

const size_t BUFSIZE = getBufsize(MyConfig::small, decompress);

11 changes: 11 additions & 0 deletions SynthIPCombined/config_smallmode.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: "Patch for configuration (smallmode)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_smallmode.patch
project_name: FeaturePerfCSCollection
shortname: config_smallmode
feature_tags:
- no_fastmode
- smallmode
13 changes: 13 additions & 0 deletions SynthIPCombined/config_smallmode.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPCombined/main.cpp b/projects/SynthIPCombined/main.cpp
index b8a13df..5de05af 100644
--- a/projects/SynthIPCombined/main.cpp
+++ b/projects/SynthIPCombined/main.cpp
@@ -616,7 +616,7 @@ int main(int argc, char **argv) {
decompress = true;
}

- using MyConfig = YALZ77Configurator<false, false>;
+ using MyConfig = YALZ77Configurator<false, true>;

const size_t BUFSIZE = getBufsize(MyConfig::small, decompress);

12 changes: 12 additions & 0 deletions SynthIPTemplate/config_COMPRESS.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: "Patch for configuration (COMPRESS)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_COMPRESS.patch
project_name: FeaturePerfCSCollection
shortname: config_COMPRESS
feature_tags:
- Compress
- no_fastmode
- no_smallmode
13 changes: 13 additions & 0 deletions SynthIPTemplate/config_COMPRESS.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPTemplate/main.cpp b/projects/SynthIPTemplate/main.cpp
index 2d514db..13d2de5 100644
--- a/projects/SynthIPTemplate/main.cpp
+++ b/projects/SynthIPTemplate/main.cpp
@@ -657,7 +657,7 @@ public:
};

int main() {
- using MyConfig = YALZ77Configurator<DECOMPRESS, false, false>;
+ using MyConfig = YALZ77Configurator<COMPRESS, false, false>;
MyConfig::YALZ77::run();

return 0;
12 changes: 12 additions & 0 deletions SynthIPTemplate/config_COMPRESS_fastmode.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: "Patch for configuration (COMPRESS, fastmode)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_COMPRESS_fastmode.patch
project_name: FeaturePerfCSCollection
shortname: config_COMPRESS_fastmode
feature_tags:
- Compress
- fastmode
- no_smallmode
13 changes: 13 additions & 0 deletions SynthIPTemplate/config_COMPRESS_fastmode.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPTemplate/main.cpp b/projects/SynthIPTemplate/main.cpp
index 2d514db..25de886 100644
--- a/projects/SynthIPTemplate/main.cpp
+++ b/projects/SynthIPTemplate/main.cpp
@@ -657,7 +657,7 @@ public:
};

int main() {
- using MyConfig = YALZ77Configurator<DECOMPRESS, false, false>;
+ using MyConfig = YALZ77Configurator<COMPRESS, true, false>;
MyConfig::YALZ77::run();

return 0;
12 changes: 12 additions & 0 deletions SynthIPTemplate/config_COMPRESS_fastmode_smallmode.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: "Patch for configuration (COMPRESS, fastmode, smallmode)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_COMPRESS_fastmode_smallmode.patch
project_name: FeaturePerfCSCollection
shortname: config_COMPRESS_fastmode_smallmode
feature_tags:
- Compress
- fastmode
- smallmode
13 changes: 13 additions & 0 deletions SynthIPTemplate/config_COMPRESS_fastmode_smallmode.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPTemplate/main.cpp b/projects/SynthIPTemplate/main.cpp
index 2d514db..0fa7586 100644
--- a/projects/SynthIPTemplate/main.cpp
+++ b/projects/SynthIPTemplate/main.cpp
@@ -657,7 +657,7 @@ public:
};

int main() {
- using MyConfig = YALZ77Configurator<DECOMPRESS, false, false>;
+ using MyConfig = YALZ77Configurator<COMPRESS, true, true>;
MyConfig::YALZ77::run();

return 0;
12 changes: 12 additions & 0 deletions SynthIPTemplate/config_COMPRESS_smallmode.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: "Patch for configuration (COMPRESS, smallmode)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_COMPRESS_smallmode.patch
project_name: FeaturePerfCSCollection
shortname: config_COMPRESS_smallmode
feature_tags:
- Compress
- no_fastmode
- smallmode
13 changes: 13 additions & 0 deletions SynthIPTemplate/config_COMPRESS_smallmode.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPTemplate/main.cpp b/projects/SynthIPTemplate/main.cpp
index 2d514db..f0af120 100644
--- a/projects/SynthIPTemplate/main.cpp
+++ b/projects/SynthIPTemplate/main.cpp
@@ -657,7 +657,7 @@ public:
};

int main() {
- using MyConfig = YALZ77Configurator<DECOMPRESS, false, false>;
+ using MyConfig = YALZ77Configurator<COMPRESS, false, true>;
MyConfig::YALZ77::run();

return 0;
12 changes: 12 additions & 0 deletions SynthIPTemplate2/config_COMPRESS.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: "Patch for configuration (COMPRESS)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_COMPRESS.patch
project_name: FeaturePerfCSCollection
shortname: config_COMPRESS
feature_tags:
- Compress
- no_fastmode
- no_smallmode
13 changes: 13 additions & 0 deletions SynthIPTemplate2/config_COMPRESS.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPTemplate2/main.cpp b/projects/SynthIPTemplate2/main.cpp
index 97d463e..8f8502a 100644
--- a/projects/SynthIPTemplate2/main.cpp
+++ b/projects/SynthIPTemplate2/main.cpp
@@ -675,7 +675,7 @@ struct YALZ77Configurator {
};

int main() {
- using MyConfig = YALZ77Configurator<DECOMPRESS, false, false>;
+ using MyConfig = YALZ77Configurator<COMPRESS, false, false>;
MyConfig::YALZ77::run(getSearchlen(MyConfig::fast),
getBlocksize(MyConfig::small),
getBufsize(MyConfig::small, MyConfig::mode));
12 changes: 12 additions & 0 deletions SynthIPTemplate2/config_COMPRESS_fastmode.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: "Patch for configuration (COMPRESS, fastmode)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_COMPRESS_fastmode.patch
project_name: FeaturePerfCSCollection
shortname: config_COMPRESS_fastmode
feature_tags:
- Compress
- fastmode
- no_smallmode
13 changes: 13 additions & 0 deletions SynthIPTemplate2/config_COMPRESS_fastmode.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPTemplate2/main.cpp b/projects/SynthIPTemplate2/main.cpp
index 97d463e..c11b7f0 100644
--- a/projects/SynthIPTemplate2/main.cpp
+++ b/projects/SynthIPTemplate2/main.cpp
@@ -675,7 +675,7 @@ struct YALZ77Configurator {
};

int main() {
- using MyConfig = YALZ77Configurator<DECOMPRESS, false, false>;
+ using MyConfig = YALZ77Configurator<COMPRESS, true, false>;
MyConfig::YALZ77::run(getSearchlen(MyConfig::fast),
getBlocksize(MyConfig::small),
getBufsize(MyConfig::small, MyConfig::mode));
12 changes: 12 additions & 0 deletions SynthIPTemplate2/config_COMPRESS_fastmode_smallmode.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: "Patch for configuration (COMPRESS, fastmode, smallmode)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_COMPRESS_fastmode_smallmode.patch
project_name: FeaturePerfCSCollection
shortname: config_COMPRESS_fastmode_smallmode
feature_tags:
- Compress
- fastmode
- smallmode
13 changes: 13 additions & 0 deletions SynthIPTemplate2/config_COMPRESS_fastmode_smallmode.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPTemplate2/main.cpp b/projects/SynthIPTemplate2/main.cpp
index 97d463e..a3e62cf 100644
--- a/projects/SynthIPTemplate2/main.cpp
+++ b/projects/SynthIPTemplate2/main.cpp
@@ -675,7 +675,7 @@ struct YALZ77Configurator {
};

int main() {
- using MyConfig = YALZ77Configurator<DECOMPRESS, false, false>;
+ using MyConfig = YALZ77Configurator<COMPRESS, true, true>;
MyConfig::YALZ77::run(getSearchlen(MyConfig::fast),
getBlocksize(MyConfig::small),
getBufsize(MyConfig::small, MyConfig::mode));
12 changes: 12 additions & 0 deletions SynthIPTemplate2/config_COMPRESS_smallmode.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: "Patch for configuration (COMPRESS, smallmode)"
include_revisions:
revision_range:
start: 45b18e4224be6977f41572d250b4c0c224953684
end: master
path: config_COMPRESS_smallmode.patch
project_name: FeaturePerfCSCollection
shortname: config_COMPRESS_smallmode
feature_tags:
- Compress
- no_fastmode
- smallmode
13 changes: 13 additions & 0 deletions SynthIPTemplate2/config_COMPRESS_smallmode.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthIPTemplate2/main.cpp b/projects/SynthIPTemplate2/main.cpp
index 97d463e..5a63b68 100644
--- a/projects/SynthIPTemplate2/main.cpp
+++ b/projects/SynthIPTemplate2/main.cpp
@@ -675,7 +675,7 @@ struct YALZ77Configurator {
};

int main() {
- using MyConfig = YALZ77Configurator<DECOMPRESS, false, false>;
+ using MyConfig = YALZ77Configurator<COMPRESS, false, true>;
MyConfig::YALZ77::run(getSearchlen(MyConfig::fast),
getBlocksize(MyConfig::small),
getBufsize(MyConfig::small, MyConfig::mode));
Loading