diff --git a/CHANGELOG.md b/CHANGELOG.md index ce34c619..dd0068e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ Documentation for rocRAND is available at [https://rocm.docs.amd.com/projects/rocRAND/en/latest/](https://rocm.docs.amd.com/projects/rocRAND/en/latest/) +## (Unreleased) rocRAND-3.1.1 for ROCm 6.2.0 + +## Fixes + * Fixed " unknown extension ?>" issue in scripts/config-tuning/select_best_config.py + when using python version thats older than 3.11 + ## (Unreleased) rocRAND-3.1.0 for ROCm 6.2.0 ### Additions diff --git a/scripts/config-tuning/select_best_config.py b/scripts/config-tuning/select_best_config.py index ce56cb0f..44e7ed1d 100755 --- a/scripts/config-tuning/select_best_config.py +++ b/scripts/config-tuning/select_best_config.py @@ -51,7 +51,9 @@ def guess_gcn_architecture(path: str, raw_json_data: dict): gb_per_s_series.name = 'gb_per_s' # Extract the groups of the regex match to a DataFrame - name_regex = r'^(?P\S+?)_(?Puniform|normal|log_normal|poisson)_(?P(?>unsigned_)?(?>int|short|char|long_long|float|half|double))_t(?P\d+)_b(?P\d+)' + + name_regex = r'^(?P\S+?)_(?Puniform|normal|log_normal|poisson)_(?P(unsigned_)?(int|short|char|long_long|float|half|double))_t(?P\d+)_b(?P\d+)' + extracted_data = benchmark_data['name'].str.extract(name_regex) extracted_data['block_size'] = extracted_data['block_size'].astype(int) extracted_data['grid_size'] = extracted_data['grid_size'].astype(int)