Skip to content
Snippets Groups Projects
Commit eaa40a7f authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed macro in Assert.h due to CUDA 9.0

parent 8543f0f5
No related branches found
No related tags found
No related merge requests found
......@@ -282,7 +282,7 @@ TNL_IMPL_CMP_HELPER_( GT, > );
} // namespace TNL
// Internal macro wrapping the __PRETTY_FUNCTION__ "magic".
#if defined( __NVCC__ ) && ( __CUDACC_VER__ < 80000 )
#if defined( __NVCC__ ) && ( __CUDACC_VER_MAJOR__ < 8 )
#define __TNL_PRETTY_FUNCTION "(not known in CUDA 7.5 or older)"
#else
#define __TNL_PRETTY_FUNCTION __PRETTY_FUNCTION__
......@@ -377,4 +377,4 @@ TNL_IMPL_CMP_HELPER_( GT, > );
#endif // #ifdef TNL_THROW_ASSERTION_ERROR
#endif // #ifdef __CUDA_ARCH__
#endif // #ifdef NDEBUG
\ No newline at end of file
#endif // #ifdef NDEBUG
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment