Skip to content

Commit

Permalink
Merge pull request tensorflow#62202 from Intel-tensorflow:mraunak/mem…
Browse files Browse the repository at this point in the history
…ory_align_test

PiperOrigin-RevId: 579066575
  • Loading branch information
tensorflower-gardener committed Nov 3, 2023
2 parents 244e8f3 + 9c49fbb commit d084257
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tensorflow/core/lib/gtl/manual_constructor_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@ TEST(ManualConstructorTest, Alignment) {

EXPECT_EQ(reinterpret_cast<char*>(test2.b.get()) - &test2.a,
reinterpret_cast<char*>(&control2.b) - &control2.a);
#ifdef __x86_64__
EXPECT_EQ(reinterpret_cast<intptr_t>(test2.b.get()) % 16, 0);
#endif
EXPECT_EQ(reinterpret_cast<intptr_t>(test2.b.get()) % alignof(long double),
0);
}

TEST(ManualConstructorTest, DefaultInitialize) {
Expand Down

0 comments on commit d084257

Please sign in to comment.