Usually, located at /usr/local/cuda/bin
$ nvprof python train_mnist.py
I prefer to use --print-gpu-trace.
| //add this in the end of your build.gradle | |
| sourceSets.each { | |
| println(it) | |
| it.allSource.each { | |
| println(it) | |
| } | |
| } |
Original articles by Mark Leair, PGI Compiler Engineer
This is Part 1 of a series of articles:
Principles of Adult Behavior
| # output binary | |
| BIN := test | |
| # source files | |
| SRCS := \ | |
| test.cpp | |
| # files included in the tarball generated by 'make dist' (e.g. add LICENSE file) | |
| DISTFILES := $(BIN) |
CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control and E-Tag headers, etc.), minification, etc.
| # Assuming an Ubuntu Docker image | |
| $ docker run -it <image> /bin/bash |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| // | |
| // libuuid sample program | |
| // | |
| // library install for debian | |
| // $ sudo apt-get install uuid-dev | |
| // | |
| // compile | |
| // $ gcc uuid_test.c -luuid -o uuid_test | |
| // | |
| #include <stdio.h> |