Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco authored Nov 26, 2024
1 parent 6f023ab commit 1389826
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES.
// SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
//
//===----------------------------------------------------------------------===//

Expand All @@ -21,6 +21,7 @@ int main(int, char**)
cuda::std::dextents<index_t, 3> e0{1, 2, 3};
cuda::std::dims<3> e1{1, 2, 3};

static_assert(cuda::std::is_same<decltype(e0), decltype(e1)>::value, "");
assert(e0 == e1);
}

Expand Down

0 comments on commit 1389826

Please sign in to comment.