Caffe2 - C++ API
A deep learning, cross platform ML framework
Utils.cpp
1 #include <ATen/Utils.h>
2 #include <stdarg.h>
3 #include <stdexcept>
4 #include <typeinfo>
5 #include <cstdlib>
6 
7 namespace at {
8 
9 int _crash_if_asan(int arg) {
10  volatile char x[3];
11  x[arg] = 0;
12  return x[0];
13 }
14 
15 } // at
Flush-To-Zero and Denormals-Are-Zero mode.