Tried this https://gist.github.com/dusty-nv/ef2b372301c00c0a9d3203e42fd83426

Works fine on TX-2

On TX-1, I get:

(I tried checking out the April 18th and 19th commits but same results)

Should I change the compiler? to?

```
/home/ubuntu/deep_libs/pytorch/torch/lib/THCS/generic/THCSTensorMath.cu(432): error: more than one instance of overloaded function "min" matches the argument list:
function "min(int, int)"
function "min(unsigned int, unsigned int)"
function "min(int, unsigned int)"
function "min(unsigned int, int)"
function "min(long long, long long)"
function "min(unsigned long long, unsigned long long)"
function "min(long long, unsigned long long)"
function "min(unsigned long long, long long)"
function "min(float, float)"
function "min(double, double)"
function "min(float, double)"
function "min(double, float)"
argument types are: (long, long)
/home/ubuntu/deep_libs/pytorch/torch/lib/THCS/generic/THCSTensorMath.cu(432): error: more than one instance of overloaded function "min" matches the argument list:
function "min(int, int)"
function "min(unsigned int, unsigned int)"
function "min(int, unsigned int)"
function "min(unsigned int, int)"
function "min(long long, long long)"
function "min(unsigned long long, unsigned long long)"
function "min(long long, unsigned long long)"
function "min(unsigned long long, long long)"
function "min(float, float)"
function "min(double, double)"
function "min(float, double)"
function "min(double, float)"
argument types are: (long, long)
/home/ubuntu/deep_libs/pytorch/torch/lib/THCS/generic/THCSTensorMath.cu(432): error: more than one instance of overloaded function "min" matches the argument list:
function "min(int, int)"
function "min(unsigned int, unsigned int)"
function "min(int, unsigned int)"
function "min(unsigned int, int)"
function "min(long long, long long)"
function "min(unsigned long long, unsigned long long)"
function "min(long long, unsigned long long)"
function "min(unsigned long long, long long)"
function "min(float, float)"
function "min(double, double)"
function "min(float, double)"
function "min(double, float)"
argument types are: (long, long)
/home/ubuntu/deep_libs/pytorch/torch/lib/THCS/generic/THCSTensorMath.cu(432): error: more than one instance of overloaded function "min" matches the argument list:
function "min(int, int)"
function "min(unsigned int, unsigned int)"
function "min(int, unsigned int)"
function "min(unsigned int, int)"
function "min(long long, long long)"
function "min(unsigned long long, unsigned long long)"
function "min(long long, unsigned long long)"
function "min(unsigned long long, long long)"
function "min(float, float)"
function "min(double, double)"
function "min(float, double)"
function "min(double, float)"
argument types are: (long, long)
/home/ubuntu/deep_libs/pytorch/torch/lib/THCS/generic/THCSTensorMath.cu(432): error: more than one instance of overloaded function "min" matches the argument list:
function "min(int, int)"
function "min(unsigned int, unsigned int)"
function "min(int, unsigned int)"
function "min(unsigned int, int)"
function "min(long long, long long)"
function "min(unsigned long long, unsigned long long)"
function "min(long long, unsigned long long)"
function "min(unsigned long long, long long)"
function "min(float, float)"
function "min(double, double)"
function "min(float, double)"
function "min(double, float)"
argument types are: (long, long)
/home/ubuntu/deep_libs/pytorch/torch/lib/THCS/generic/THCSTensorMath.cu(432): error: more than one instance of overloaded function "min" matches the argument list:
function "min(int, int)"
function "min(unsigned int, unsigned int)"
function "min(int, unsigned int)"
function "min(unsigned int, int)"
function "min(long long, long long)"
function "min(unsigned long long, unsigned long long)"
function "min(long long, unsigned long long)"
function "min(unsigned long long, long long)"
function "min(float, float)"
function "min(double, double)"
function "min(float, double)"
function "min(double, float)"
argument types are: (long, long)
/home/ubuntu/deep_libs/pytorch/torch/lib/THCS/generic/THCSTensorMath.cu(432): error: more than one instance of overloaded function "min" matches the argument list:
function "min(int, int)"
function "min(unsigned int, unsigned int)"
function "min(int, unsigned int)"
function "min(unsigned int, int)"
function "min(long long, long long)"
function "min(unsigned long long, unsigned long long)"
function "min(long long, unsigned long long)"
function "min(unsigned long long, long long)"
function "min(float, float)"
function "min(double, double)"
function "min(float, double)"
function "min(double, float)"
argument types are: (long, long)
/home/ubuntu/deep_libs/pytorch/torch/lib/THCS/generic/THCSTensorMath.cu(432): error: more than one instance of overloaded function "min" matches the argument list:
function "min(int, int)"
function "min(unsigned int, unsigned int)"
function "min(int, unsigned int)"
function "min(unsigned int, int)"
function "min(long long, long long)"
function "min(unsigned long long, unsigned long long)"
function "min(long long, unsigned long long)"
function "min(unsigned long long, long long)"
function "min(float, float)"
function "min(double, double)"
function "min(float, double)"
function "min(double, float)"
argument types are: (long, long)
8 errors detected in the compilation of "/tmp/tmpxft_000037d7_00000000-7_THCSTensor.cpp1.ii".
CMake Error at THCS_generated_THCSTensor.cu.o.cmake:267 (message):
Error generating file
/home/ubuntu/deep_libs/pytorch/torch/lib/build/THCS/CMakeFiles/THCS.dir//./THCS_generated_THCSTensor.cu.o
make[2]: *** [CMakeFiles/THCS.dir/./THCS_generated_THCSTensor.cu.o] Error 1
make[1]: *** [CMakeFiles/THCS.dir/all] Error 2
make: *** [all] Error 2
```