Last active
December 11, 2015 21:58
-
-
Save johntyree/4665669 to your computer and use it in GitHub Desktop.
Header to work around CUDA incompatibility with GCC 4.7+.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Header for compilation with GCC-4.7 | |
#if defined(__GNUC__) | |
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6) | |
#undef _GLIBCXX_ATOMIC_BUILTINS | |
#undef _GLIBCXX_USE_INT128 | |
#endif | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment