Skip to content

Commit

Permalink
Remove redundant SyncLocal operation
Browse files Browse the repository at this point in the history
Signed-off-by: ScheissSchiesser <9285100+ScheissSchiesser@users.noreply.github.com>
  • Loading branch information
photon-schiesser committed Apr 12, 2022
1 parent 409c455 commit 54baa18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/TestDestroy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ TEST(TestDestroy, TestDestroyTensorSingle)

// Sync values to and from device
mgr.sequence()
->eval<kp::OpTensorSyncDevice>(algo->getTensors())
->eval<kp::OpTensorSyncLocal>(algo->getTensors());
->eval<kp::OpTensorSyncDevice>(algo->getTensors());

EXPECT_EQ(tensorA->vector(), initialValues);

Expand Down

0 comments on commit 54baa18

Please sign in to comment.