compiler error of profiler_test.cc in CPU_ONLY mode
Created by: luotao1
/home/luotao02/Paddle/paddle/fluid/platform/profiler_test.cc:16:26: fatal error: cuda_runtime.h: No such file or directory
#include "cuda_runtime.h"
^
compilation terminated.
make[2]: *** [paddle/fluid/platform/CMakeFiles/profiler_test.dir/profiler_test.cc.o] Error 1
make[1]: *** [paddle/fluid/platform/CMakeFiles/profiler_test.dir/all] Error 2
make: *** [all] Error 2
Note that cpu_only mode in teamcity don't compile testing related codes.