mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Remove C++ and test branches for CUDA<12 (#163443)
Remove conditional branches for CUDA<12. Pull Request resolved: https://github.com/pytorch/pytorch/pull/163443 Approved by: https://github.com/eqy
This commit is contained in:
committed by
PyTorch MergeBot
parent
d279a6a6f1
commit
bec967eaa4
@ -64,7 +64,7 @@ load_tests = load_tests
|
||||
gradcheck = functools.partial(gradcheck, check_batched_grad=False)
|
||||
|
||||
CUSPARSE_SPMM_COMPLEX128_SUPPORTED = (
|
||||
IS_WINDOWS and torch.version.cuda and version.parse(torch.version.cuda) > version.parse("11.2")
|
||||
IS_WINDOWS and torch.version.cuda
|
||||
) or (not IS_WINDOWS and not TEST_WITH_ROCM)
|
||||
|
||||
HIPSPARSE_SPMM_COMPLEX128_SUPPORTED = torch.version.hip and version.parse(torch.version.hip.split("-")[0]) >= version.parse("6.0")
|
||||
|
Reference in New Issue
Block a user