eyalroz / cuda-api-wrappers

Thin, unified, C++-flavored wrappers for the CUDA APIs
BSD 3-Clause "New" or "Revised" License
768 stars 79 forks source link

Leftover warning regarding validate_all_dimensions_compatibility not being used #569

Closed eyalroz closed 6 months ago

eyalroz commented 8 months ago

Our use of validate_all_dimensions_compatibility(), realized in the fix for #561, only occurs in debug mode (when NDEBUG is undefined); but I forgot to surround the definition of this function itself with #ifndef NDEBUG, so we still get a warning message in release mode.