1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-12-19 04:04:30 +00:00

fix: diagnostic pragma warnings fixed for CUDA 12+

This commit is contained in:
2023-01-12 12:36:30 +00:00
parent 4ca1bf7cca
commit ad0270ac8c
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ directory
//disables nvcc specific warning in json.hpp
#pragma clang diagnostic ignored "-Wdeprecated-register"
#if (__CUDACC_VER_MAJOR__ >= 11) && (__CUDACC_VER_MINOR__ >= 5)
#ifdef __NVCC_DIAG_PRAGMA_SUPPORT__
//disables nvcc specific warning in json.hpp
#pragma nv_diag_suppress unsigned_compare_with_zero
#pragma nv_diag_suppress cast_to_qualified_type