From e3963e35ec1234a14226016dc4d4c9110808735c Mon Sep 17 00:00:00 2001 From: Di Nguyen Date: Tue, 12 Nov 2024 11:52:04 -0700 Subject: [PATCH] [Regression Test][rocPRIM] Implemented Regression Test filter for emulation work (#642) * implemented regression test filter and option * updated changelog * clarified some points in changelog --- CHANGELOG.md | 11 +++++------ rtest.xml | 4 ++++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc8111430..5221d89a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,16 +6,15 @@ Full documentation for rocPRIM is available at [https://rocm.docs.amd.com/projec ## (Unreleased) rocPRIM 3.4.0 for ROCm 6.4.0 ### Added - +* Added regression tests to `rtest.py`. Regression tests are a subset of tests that caused hardware problems for past emulation environments. + * Can be run with `python rtest.py [--emulation|-e|--test|-t]=regression` * Added the parallel `find_first_of` device function with autotuned configurations, this function is similar to `std::find_first_of`, it searches for the first occurrence of any of the provided elements. * Added `--emulation` option added for `rtest.py` -* Unit tests can be ran with `[--emulation|-e|--test|-t]=` + * Unit tests can be run with `[--emulation|-e|--test|-t]=` ### Changed - * Modified smoke tests to complete in faster run-time and to never exceed 2GB of vram usage - * Old smoke tests can be ran with python3 rtest.py --test/-t smoke_old or python3 rtest.py --emulation/-e smoke_old instead - * `--test|-t` no longer a required flag for `rtest.py`, instead user can use either `--emulation|-e` or `--test|-t` but not both - +* Changed the subset of tests that are run for smoke tests such that the smoke test will complete with faster run-time and to never exceed 2GB of vram usage. Use `python rtest.py [--emulation|-e|--test|-t]=smoke` to run these tests. +* The `rtest.py` options have changed. `rtest.py` is now run with at least either `--test|-t` or `--emulation|-e`, but not both options. ### Resolved issues diff --git a/rtest.xml b/rtest.xml index 39a078e36..57b402046 100644 --- a/rtest.xml +++ b/rtest.xml @@ -5,6 +5,7 @@ + {CTEST_FILTER} {CTEST_REGEX} @@ -18,4 +19,7 @@ {SMOKE_TEST_OLD} + + {REGRESSION_TEST} + \ No newline at end of file