Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiler error of profiler_test.cc in CPU_ONLY mode #9530

Closed
luotao1 opened this issue Mar 30, 2018 · 0 comments · Fixed by #9531
Closed

compiler error of profiler_test.cc in CPU_ONLY mode #9530

luotao1 opened this issue Mar 30, 2018 · 0 comments · Fixed by #9531

Comments

@luotao1
Copy link
Contributor

luotao1 commented Mar 30, 2018

/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant