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:
commit
c123addeac
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user