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

Expose all debugging flags via CMake #76

Open
martin-ueding opened this issue Jun 26, 2017 · 1 comment
Open

Expose all debugging flags via CMake #76

martin-ueding opened this issue Jun 26, 2017 · 1 comment

Comments

@martin-ueding
Copy link
Contributor

There are a couple of ad-hoc definitions for debugging, like these:

include/qphix/invbicgstab.h:#define QPHIX_VERBOSE_BICGSTAB
include/qphix/invbicgstab.h:#define QPHIX_TIMING_BICGSTAB
include/qphix/invcg.h:#define QPHIX_TIMING_CG
include/qphix/invcg.h:// #define CGDEBUG
include/qphix/qdp_packer_parscalar.h:#define MANUAL_COLLAPSE 1
include/qphix/minvcg.h:#undef DEBUG_MINVCG
include/qphix/qdp_packer_qdpjit.h:#undef DEBUG_PACKER
tests/invbicgstab_test.h:#undef DEBUG

Perhaps all those should be exposed via CMake options? It is not much work and perhaps better than having those scattered around in the code. Perhaps they should be unified into a few global debugging or timing options?

@bjoo
Copy link
Contributor

bjoo commented Jun 26, 2017 via email

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

No branches or pull requests

2 participants