NDEBUG is used by the standard C library "assert.h" for disabling
assert statements. See "man assert".
When someone define the macro NDEBUG, they want the code to run fast.
In this case, Thrust shouldn't turn on THURST_DEBUG.
from "thrust/detail/debug.h"
> #ifndef THRUST_DEBUG
> # if (NDEBUG || DEBUG || _DEBUG)
> # define THRUST_DEBUG 1
> # endif // (NDEBUG || DEBUG)
> #endif // THRUST_DEBUG
Original issue reported on code.google.com by heypa...@gmail.com on 8 Oct 2010 at 3:47
Original issue reported on code.google.com by
heypa...@gmail.com
on 8 Oct 2010 at 3:47