Skip to content

Commit

Permalink
Add a dump test for packed AoSoA4
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Feb 11, 2024
1 parent fa1fcb3 commit 1ca58fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/dump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ TEST_CASE("dump.ParticleUnaligned.AoSoA4")
dump(llama::mapping::AoSoA<ArrayExtents, ParticleUnaligned, 4>{extents});
}

TEST_CASE("dump.ParticleUnaligned.AoSoA4.packed")
{
dump(llama::mapping::AoSoA<ArrayExtents, ParticleUnaligned, 4, llama::mapping::FieldAlignment::Pack>{extents});
}

TEST_CASE("dump.ParticleUnaligned.AoSoA8")
{
dump(llama::mapping::AoSoA<ArrayExtents, ParticleUnaligned, 8>{extents});
Expand Down

0 comments on commit 1ca58fa

Please sign in to comment.