lower arch support for 30

This commit is contained in:
Dun Liang 2021-10-01 19:56:47 +08:00
parent 0fa0584fd3
commit 6300b0908f
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
# file 'LICENSE.txt', which is part of this source code package.
# ***************************************************************
__version__ = '1.3.0.2'
__version__ = '1.3.0.3'
from jittor_utils import lock
with lock.lock_scope():
ori_int = int

View File

@ -1283,7 +1283,7 @@ if has_cuda:
archs = []
for arch in flags.cuda_archs:
if arch<50:
LOG.w(f"CUDA arch({arch})<50 is not supported")
LOG.w(f"CUDA arch({arch})<30 is not supported")
continue
archs.append(arch)
nvcc_flags += f" -arch=compute_{min(flags.cuda_archs)} "