[Test] Add Unit Test for Batched DeepGEMM (#21559)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2025-08-02 10:45:46 +08:00
committed by GitHub
parent 8d524ce79f
commit 6e8d8c4afb
3 changed files with 107 additions and 8 deletions
+2 -2
View File
@@ -23,10 +23,10 @@ def is_deep_gemm_supported() -> bool:
"""Return ``True`` if DeepGEMM is supported on the current platform.
Currently, only Hopper and Blackwell GPUs are supported.
"""
supported_arch = current_platform.is_cuda() and (
is_supported_arch = current_platform.is_cuda() and (
current_platform.is_device_capability(90)
or current_platform.is_device_capability(100))
return has_deep_gemm() and supported_arch
return has_deep_gemm() and is_supported_arch
@functools.cache