From 38e583d87ddb6310e0d7845e3e144adcbf8c22a9 Mon Sep 17 00:00:00 2001 From: Yitao Jiang <22387156+cccat6@users.noreply.github.com> Date: Tue, 1 Dec 2026 02:24:59 +0800 Subject: [PATCH 1/2] Recognize ROCm host OpenBLAS libraries --- threadpoolctl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/threadpoolctl.py b/threadpoolctl.py index eba58089..ca0bc74b 100644 --- a/threadpoolctl.py +++ b/threadpoolctl.py @@ -517,6 +517,7 @@ class OpenBLASController(LibController): internal_api = "openblas" filename_prefixes = ( "libopenblas", + "librocm-openblas", "libblas", # legacy conda-forge Windows shim, see _make_controller_from_path "libscipy_openblas", "openblas", # Windows conda package use openblas.dll From 818d252ccfa7671aa73411d6f3f0bcc7fc1cc299 Mon Sep 17 00:00:00 2001 From: Yitao Jiang <22387156+cccat6@users.noreply.github.com> Date: Tue, 1 Dec 2026 06:00:30 +0800 Subject: [PATCH 2/2] CI Allow unavailable ROCm OpenBLAS prefix cases --- continuous_integration/check_no_test_skipped.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/continuous_integration/check_no_test_skipped.py b/continuous_integration/check_no_test_skipped.py index 02343d19..7a5d1cbb 100644 --- a/continuous_integration/check_no_test_skipped.py +++ b/continuous_integration/check_no_test_skipped.py @@ -38,6 +38,8 @@ "test_multiple_shipped_openblas", "test_threadpool_limits_by_prefix[1-libblas]", "test_threadpool_limits_by_prefix[3-libblas]", + "test_threadpool_limits_by_prefix[1-librocm-openblas]", + "test_threadpool_limits_by_prefix[3-librocm-openblas]", ] fail = False