Merge topic 'update-cuda-dockerfiles'

86bf87617 cuda: Fix new cuda version warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2752
This commit is contained in:
Vicente Bolea 2022-04-07 22:14:30 +00:00 committed by Kitware Robot
commit c123addeac
2 changed files with 10 additions and 0 deletions

@ -32,9 +32,14 @@
// Eg: TestExecObject::TestExecObject, MyOutputToInputMapPortal::Get,
// TestWorkletProxy::operator()
#pragma push
#if (CUDART_VERSION >= 11050)
#pragma nv_diag_suppress 177
#else
#pragma diag_suppress 177
#endif
#endif
namespace
{

@ -72,8 +72,13 @@ private:
#pragma warning(disable : 4068) //unknown pragma
#endif
#ifdef __NVCC__
#pragma push
#if (CUDART_VERSION >= 11050)
#pragma nv_diag_suppress = code_is_unreachable
#else
#pragma diag_suppress = code_is_unreachable
#endif
#endif
using vtkm::filter::mesh_info::IntegrationType;