From 548d6f5f4507d044639f6415865733a7c3bd4394 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Tue, 23 Jul 2024 11:30:03 -0400 Subject: [PATCH] Ignore float too small errors --- test/beta_med_data.ipp | 4 ++++ test/test_beta.hpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/test/beta_med_data.ipp b/test/beta_med_data.ipp index b1f35d98e..eb3e884b8 100644 --- a/test/beta_med_data.ipp +++ b/test/beta_med_data.ipp @@ -3,6 +3,10 @@ // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +#ifdef __CUDACC__ +#pragma nv_diag_suppress 221 +#endif + static const std::array::type, 3>, 1830> beta_med_data = { { {{ SC_(0.4883005917072296142578125), SC_(0.4883005917072296142578125), SC_(3.245912809500479157065104747353807392371) }}, {{ SC_(3.5808107852935791015625), SC_(0.4883005917072296142578125), SC_(1.007653173802923954909901438393379243537) }}, diff --git a/test/test_beta.hpp b/test/test_beta.hpp index 63a07d18f..e633935a3 100644 --- a/test/test_beta.hpp +++ b/test/test_beta.hpp @@ -10,6 +10,10 @@ # pragma warning (disable : 4180) // qualifier applied to function type has no meaning; ignored #endif +#ifdef __CUDACC__ +#pragma nv_diag_suppress 221 +#endif + #include #define BOOST_TEST_MAIN #include