mirror of
https://github.com/andreinechaev/nvcc4jupyter.git
synced 2026-06-14 03:00:47 +05:30
14 lines
343 B
Python
14 lines
343 B
Python
import argparse
|
|
|
|
|
|
def get_argparser():
|
|
parser = argparse.ArgumentParser(description='NVCCPlugin params')
|
|
parser.add_argument("-t", "--timeit", action='store_true',
|
|
help='flag to return timeit result instead of stdout')
|
|
return parser
|
|
|
|
|
|
def print_out(out: str):
|
|
for l in out.split('\n'):
|
|
print(l)
|