mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-04-21 09:01:31 -04:00
Put sleep with the debug opts
This commit is contained in:
parent
3714e2b170
commit
30a8d2bfa8
2
main.py
2
main.py
@ -223,7 +223,7 @@ if __name__ == "__main__":
|
|||||||
help='Compile kernel with debugging enabled (implies --keep)')
|
help='Compile kernel with debugging enabled (implies --keep)')
|
||||||
debug.add_argument('--sync', action='store_true', dest='sync',
|
debug.add_argument('--sync', action='store_true', dest='sync',
|
||||||
help='Use synchronous launches whenever possible')
|
help='Use synchronous launches whenever possible')
|
||||||
parser.add_argument('--sleep', metavar='MSEC', type=int, dest='sleep',
|
debug.add_argument('--sleep', metavar='MSEC', type=int, dest='sleep',
|
||||||
nargs='?', const='5',
|
nargs='?', const='5',
|
||||||
help='Sleep between invocations. Keeps a single-card system '
|
help='Sleep between invocations. Keeps a single-card system '
|
||||||
'usable. Implies --sync.')
|
'usable. Implies --sync.')
|
||||||
|
Loading…
Reference in New Issue
Block a user