chapel
chapel copied to clipboard
Add the updated "Chapel by Example: Image Processing" benchmarks suite
This PR adds the updated "Chapel by Example: Image Processing" benchmarks suite, as suggested by #17436. It also adds a bunch of correctness tests.
Since this project relies on Chapel 1.17.0 and is updated to the newest version (release-by-release), it was not obvious to me how to check at each step that the code still produce the expected outputs. Here is below the followed procedure:
- [x] Upload the raw files;
Note: I preserved the initial structure of the project, i.e., the
color
,fast
,gabor
,kmeans
,parallel
,png
, andransac
sub-projects. - [x] Add a bunch of
.good
files obtained using 1.17.0; Note: Some non-deterministic tests are marked with.noexec
for now, and one test was failing (marked as a future). In addition, I excessively use.prediff
files. Sometimes, the latter can be neglected, but I let this optimization for a follow-up PR, if it's OK for reviewers. All the tests are checked in their default configuration, and we could also check multiple configurations in a subsequent PR, if needed. - [x] Update all code to the newest version;
- [x] Check at the end that the tests still produce the expected
.good
files.
Resolves #17436