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