Skip to content

Commit

Permalink
Mondays...
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Aug 19, 2024
1 parent e13d929 commit 89419b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ __host__ __device__ void test_roundtrip_through_nested_T(T from)
template <typename Intermediate, bool HasUniqueObjectRepresentations = true, typename T>
__host__ __device__ void test_roundtrip_through(T from)
{
static_assert(sizeof(Intermediate) == sizeof(T), "";
static_assert(sizeof(Intermediate) == sizeof(T), "");

Intermediate middle = cuda::std::bit_cast<Intermediate>(from);
T to = cuda::std::bit_cast<T>(middle);
Expand Down

0 comments on commit 89419b1

Please sign in to comment.