19 #include <cudf/utilities/export.hpp>
21 #include <cuda/std/chrono>
23 namespace CUDF_EXPORT
cudf {
35 using duration_D = cuda::std::chrono::duration<int32_t, cuda::std::chrono::days::period>;
39 using duration_h = cuda::std::chrono::duration<int32_t, cuda::std::chrono::hours::period>;
43 using duration_m = cuda::std::chrono::duration<int32_t, cuda::std::chrono::minutes::period>;
47 using duration_s = cuda::std::chrono::duration<int64_t, cuda::std::chrono::seconds::period>;
51 using duration_ms = cuda::std::chrono::duration<int64_t, cuda::std::chrono::milliseconds::period>;
55 using duration_us = cuda::std::chrono::duration<int64_t, cuda::std::chrono::microseconds::period>;
59 using duration_ns = cuda::std::chrono::duration<int64_t, cuda::std::chrono::nanoseconds::period>;
61 static_assert(
sizeof(
duration_D) ==
sizeof(
typename duration_D::rep));
62 static_assert(
sizeof(
duration_h) ==
sizeof(
typename duration_h::rep));
63 static_assert(
sizeof(
duration_m) ==
sizeof(
typename duration_m::rep));
64 static_assert(
sizeof(
duration_s) ==
sizeof(
typename duration_s::rep));
65 static_assert(
sizeof(
duration_ms) ==
sizeof(
typename duration_ms::rep));
66 static_assert(
sizeof(
duration_us) ==
sizeof(
typename duration_us::rep));
67 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.