Skip to content

Commit

Permalink
Fix typo and remove accidentally committed assertions
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
  • Loading branch information
dalg24 and masterleinad committed May 4, 2023
1 parent 7533cb4 commit 8dc8f49
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions core/unit_test/TestBitManipulationBuiltins.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ TEST(TEST_CATEGORY, bit_manip_byeswap) {
test_bit_manip_byteswap<unsigned long long>();
}

// CUDA doesn't provide memcpy
// CUDA doesn't provide memcmp
KOKKOS_FUNCTION int my_memcmp(void const* lhs, void const* rhs, size_t count) {
auto u1 = static_cast<unsigned char const*>(lhs);
auto u2 = static_cast<unsigned char const*>(rhs);
Expand Down Expand Up @@ -852,9 +852,5 @@ struct TestBitCastFunction {
};

TEST(TEST_CATEGORY, bit_manip_bit_cast) {
using Kokkos::bit_cast;
ASSERT_EQ(bit_cast<int>(123), 123);
ASSERT_EQ(bit_cast<int>(123u), 123);
ASSERT_EQ(bit_cast<int>(~0u), ~0);
TestBitCastFunction<TEST_EXECSPACE>();
}

0 comments on commit 8dc8f49

Please sign in to comment.