diff --git a/src/cuda/api/launch_config_builder.hpp b/src/cuda/api/launch_config_builder.hpp index 8d45a3b2..74a39a19 100644 --- a/src/cuda/api/launch_config_builder.hpp +++ b/src/cuda/api/launch_config_builder.hpp @@ -44,6 +44,8 @@ inline dimensions_t div_rounding_up(overall_dimensions_t overall_dims, block_dim } // namespace grid +#ifndef NDEBUG + namespace detail_ { static void validate_all_dimensions_compatibility( @@ -58,6 +60,8 @@ static void validate_all_dimensions_compatibility( } // namespace detail_ +#endif // NDEBUG + class launch_config_builder_t { protected: memory::shared::size_t get_dynamic_shared_memory_size(grid::block_dimensions_t block_dims) const