Usually, located at /usr/local/cuda/bin
$ nvprof python train_mnist.py
I prefer to use --print-gpu-trace.
ansible-playbook --connection=local 127.0.0.1 playbook.yml127.0.0.1 ansible_connection=local| #!/usr/bin/env python3 | |
| """ Example multiprocess based python file | |
| """ | |
| import multiprocessing | |
| import argparse | |
| import itertools | |
| ARGP = argparse.ArgumentParser( |
| #!/bin/bash | |
| script="myscript" | |
| #Declare the number of mandatory args | |
| margs=2 | |
| # Common functions - BEGIN | |
| function example { | |
| echo -e "example: $script -m0 VAL -m1 VAL -o1 -o2 VAL" | |
| } |