Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
Co-authored-by: Marcel Koch <marcel.koch@kit.edu>
  • Loading branch information
ginkgo-bot and MarcelKoch committed May 23, 2022
1 parent 5ae8967 commit 08614a7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
1 change: 0 additions & 1 deletion dpcpp/distributed/vector_kernels.dp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************<GINKGO LICENSE>*******************************/


#include "core/distributed/vector_kernels.hpp"


Expand Down
6 changes: 3 additions & 3 deletions test/distributed/vector_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************<GINKGO LICENSE>*******************************/

#include "core/distributed/vector_kernels.hpp"


#include <algorithm>
#include <memory>
#include <vector>
Expand All @@ -43,10 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <ginkgo/core/base/matrix_data.hpp>


#include "core/distributed/vector_kernels.hpp"
#include "core/test/utils.hpp"


#include "test/utils/executor.hpp"


Expand Down
15 changes: 3 additions & 12 deletions test/mpi/distributed/vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,7 @@ class VectorCreation : public ::testing::Test {
init_executor(gko::ReferenceExecutor::create(), exec, comm);
}

void SetUp() override
{
ASSERT_EQ(this->comm.size(), 3);
}
void SetUp() override { ASSERT_EQ(this->comm.size(), 3); }

void TearDown() override
{
Expand Down Expand Up @@ -421,10 +418,7 @@ class VectorReductions : public ::testing::Test {
y = gko::clone(exec, tmp_y);
}

void SetUp() override
{
ASSERT_GT(comm.size(), 0);
}
void SetUp() override { ASSERT_GT(comm.size(), 0); }

void TearDown() override
{
Expand Down Expand Up @@ -597,10 +591,7 @@ class VectorLocalOps : public ::testing::Test {
complex = complex_dist_vec_type::create(exec, comm);
}

void SetUp() override
{
ASSERT_GT(comm.size(), 0);
}
void SetUp() override { ASSERT_GT(comm.size(), 0); }

void TearDown() override
{
Expand Down

0 comments on commit 08614a7

Please sign in to comment.