Skip to content

Commit b6b200a

Browse files
committed
Fix a bug in nvidiacc.py
1 parent 8eaf533 commit b6b200a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/nvidiacc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def checkCall(f, *args):
7979
cc_len = len(cc_list)
8080
if cc_len:
8181
cc_str = '{}'.format(cc_list[0])
82-
for i in range(2, cc_len):
82+
for i in range(1, cc_len):
8383
cc_str = cc_str + ',{}'.format(cc_list[i])
8484
return cc_str
8585
else:

0 commit comments

Comments
 (0)