Suppress nvcc `offsetof` warning (#1429)

* Suppress nvcc offsetof warning

* Update AUTHORS and CONTRIBUTORS
diff --git a/AUTHORS b/AUTHORS
index 5a39872..7d68935 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -13,6 +13,7 @@
 Andriy Berestovskyy <berestovskyy@gmail.com>
 Arne Beer <arne@twobeer.de>
 Carto
+Cezary Skrzyński <czars1988@gmail.com>
 Christian Wassermann <christian_wassermann@web.de>
 Christopher Seymour <chris.j.seymour@hotmail.com>
 Colin Braley <braley.colin@gmail.com>
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 35a4cc6..4208e0c 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -29,6 +29,7 @@
 Arne Beer <arne@twobeer.de>
 Bátor Tallér <bator.taller@shapr3d.com>
 Billy Robert O'Neal III <billy.oneal@gmail.com> <bion@microsoft.com>
+Cezary Skrzyński <czars1988@gmail.com>
 Chris Kennelly <ckennelly@google.com> <ckennelly@ckennelly.com>
 Christian Wassermann <christian_wassermann@web.de>
 Christopher Seymour <chris.j.seymour@hotmail.com>
diff --git a/src/benchmark.cc b/src/benchmark.cc
index 88167f6..6035491 100644
--- a/src/benchmark.cc
+++ b/src/benchmark.cc
@@ -178,6 +178,10 @@
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Winvalid-offsetof"
 #endif
+#if defined(__CUDACC__)
+#pragma nv_diagnostic push
+#pragma nv_diag_suppress 1427
+#endif
   // Offset tests to ensure commonly accessed data is on the first cache line.
   const int cache_line_size = 64;
   static_assert(offsetof(State, error_occurred_) <=
@@ -188,6 +192,9 @@
 #elif defined(__GNUC__)
 #pragma GCC diagnostic pop
 #endif
+#if defined(__CUDACC__)
+#pragma nv_diagnostic pop
+#endif
 }
 
 void State::PauseTiming() {