MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / main

Function main

python/1_GettingStarted/kernelNsysProfile/kernelNsysProfile.py:308–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306
307
308def main():
309 parser = argparse.ArgumentParser(
310 description="Kernel Nsys Profiling - Profile custom CUDA C++ "
311 "kernels with cuda.core"
312 )
313 parser.add_argument(
314 "-n",
315 "--array-size",
316 type=int,
317 default=50000,
318 metavar="N",
319 help="Array size (default: 50,000)",
320 )
321
322 args = parser.parse_args()
323 run(size=args.array_size)
324
325
326if __name__ == "__main__":

Callers 1

Calls 1

runFunction · 0.70

Tested by

no test coverage detected