19 #include <cuda/std/chrono>
33 using duration_D = cuda::std::chrono::duration<int32_t, cuda::std::chrono::days::period>;
37 using duration_h = cuda::std::chrono::duration<int32_t, cuda::std::chrono::hours::period>;
41 using duration_m = cuda::std::chrono::duration<int32_t, cuda::std::chrono::minutes::period>;
45 using duration_s = cuda::std::chrono::duration<int64_t, cuda::std::chrono::seconds::period>;
49 using duration_ms = cuda::std::chrono::duration<int64_t, cuda::std::chrono::milliseconds::period>;
53 using duration_us = cuda::std::chrono::duration<int64_t, cuda::std::chrono::microseconds::period>;
57 using duration_ns = cuda::std::chrono::duration<int64_t, cuda::std::chrono::nanoseconds::period>;
59 static_assert(
sizeof(
duration_D) ==
sizeof(
typename duration_D::rep),
"");
60 static_assert(
sizeof(
duration_h) ==
sizeof(
typename duration_h::rep),
"");
61 static_assert(
sizeof(
duration_m) ==
sizeof(
typename duration_m::rep),
"");
62 static_assert(
sizeof(
duration_s) ==
sizeof(
typename duration_s::rep),
"");
63 static_assert(
sizeof(
duration_ms) ==
sizeof(
typename duration_ms::rep),
"");
64 static_assert(
sizeof(
duration_us) ==
sizeof(
typename duration_us::rep),
"");
65 static_assert(
sizeof(
duration_ns) ==
sizeof(
typename duration_ns::rep),
"");
cuda::std::chrono::duration< int32_t, cuda::std::chrono::minutes::period > duration_m
Type alias representing an int32_t duration of minutes.
cuda::std::chrono::duration< int64_t, cuda::std::chrono::nanoseconds::period > duration_ns
Type alias representing an int64_t duration of nanoseconds.
cuda::std::chrono::duration< int32_t, cuda::std::chrono::days::period > duration_D
Type alias representing an int32_t duration of days.
cuda::std::chrono::duration< int64_t, cuda::std::chrono::milliseconds::period > duration_ms
Type alias representing an int64_t duration of milliseconds.
cuda::std::chrono::duration< int32_t, cuda::std::chrono::hours::period > duration_h
Type alias representing an int32_t duration of hours.
cuda::std::chrono::duration< int64_t, cuda::std::chrono::microseconds::period > duration_us
Type alias representing an int64_t duration of microseconds.
cuda::std::chrono::duration< int64_t, cuda::std::chrono::seconds::period > duration_s
Type alias representing an int64_t duration of seconds.