mirror of https://github.com/Jittor/Jittor
lower arch support for 30
This commit is contained in:
parent
0fa0584fd3
commit
6300b0908f
|
@ -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
|
||||
|
|
|
@ -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)} "
|
||||
|
|
Loading…
Reference in New Issue