Skip to content

Commit

Permalink
use Executor:::get_description() in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed May 18, 2024
1 parent d94378c commit c456be3
Show file tree
Hide file tree
Showing 80 changed files with 163 additions and 141 deletions.
2 changes: 1 addition & 1 deletion test/base/batch_multi_vector_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "core/test/utils.hpp"
#include "core/test/utils/assertions.hpp"
#include "core/test/utils/batch_helpers.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class MultiVector : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/base/device_matrix_data_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "core/base/device_matrix_data_kernels.hpp"
#include "core/test/utils.hpp"
#include "core/test/utils/assertions.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename ValueIndexType>
Expand Down
2 changes: 1 addition & 1 deletion test/base/executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


#include "core/test/utils/assertions.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


namespace reference {
Expand Down
2 changes: 1 addition & 1 deletion test/base/index_range.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "common/unified/base/kernel_launch.hpp"
#include "core/base/index_range.hpp"
#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class IndexRange : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/base/kernel_launch_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "common/unified/base/kernel_launch_solver.hpp"
#include "core/base/array_access.hpp"
#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


using gko::dim;
Expand Down
2 changes: 1 addition & 1 deletion test/base/timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


#include "core/test/utils/assertions.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Timer : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/components/absolute_array_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class AbsoluteArray : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/components/fill_array_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename T>
Expand Down
2 changes: 1 addition & 1 deletion test/components/format_conversion_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename IndexType>
Expand Down
2 changes: 1 addition & 1 deletion test/components/precision_conversion_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


#if !(GINKGO_COMMON_SINGLE_MODE)
Expand Down
2 changes: 1 addition & 1 deletion test/components/prefix_sum_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename T>
Expand Down
2 changes: 1 addition & 1 deletion test/components/reduce_array_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename T>
Expand Down
2 changes: 1 addition & 1 deletion test/distributed/matrix_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


using comm_index_type = gko::experimental::distributed::comm_index_type;
Expand Down
2 changes: 1 addition & 1 deletion test/distributed/partition_helper_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "core/base/iterator_factory.hpp"
#include "core/distributed/partition_helpers_kernels.hpp"
#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


using gko::experimental::distributed::comm_index_type;
Expand Down
2 changes: 1 addition & 1 deletion test/distributed/partition_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


using comm_index_type = gko::experimental::distributed::comm_index_type;
Expand Down
2 changes: 1 addition & 1 deletion test/distributed/vector_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


using comm_index_type = gko::experimental::distributed::comm_index_type;
Expand Down
2 changes: 1 addition & 1 deletion test/factorization/cholesky_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "core/test/utils/assertions.hpp"
#include "core/utils/matrix_utils.hpp"
#include "matrices/config.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


namespace {
Expand Down
2 changes: 1 addition & 1 deletion test/factorization/ic_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "core/test/utils.hpp"
#include "core/test/utils/unsort_matrix.hpp"
#include "matrices/config.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Ic : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/factorization/ilu_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "core/test/utils.hpp"
#include "core/test/utils/unsort_matrix.hpp"
#include "matrices/config.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Ilu : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/factorization/lu_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "core/test/utils.hpp"
#include "core/test/utils/assertions.hpp"
#include "matrices/config.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename ValueIndexType>
Expand Down
2 changes: 1 addition & 1 deletion test/factorization/par_ic_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "core/matrix/csr_kernels.hpp"
#include "core/test/utils.hpp"
#include "matrices/config.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename ValueIndexType>
Expand Down
2 changes: 1 addition & 1 deletion test/factorization/par_ict_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "core/matrix/csr_kernels.hpp"
#include "core/test/utils.hpp"
#include "matrices/config.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename ValueIndexType>
Expand Down
2 changes: 1 addition & 1 deletion test/factorization/par_ilu_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "core/factorization/factorization_kernels.hpp"
#include "core/test/utils.hpp"
#include "matrices/config.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename ValueIndexType>
Expand Down
2 changes: 1 addition & 1 deletion test/factorization/par_ilut_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "core/matrix/csr_kernels.hpp"
#include "core/test/utils.hpp"
#include "matrices/config.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename ValueIndexType>
Expand Down
2 changes: 1 addition & 1 deletion test/log/profiler_hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <ginkgo/core/log/profiler_hook.hpp>


#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class ProfilerHook : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/batch_csr_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "core/test/utils/array_generator.hpp"
#include "core/test/utils/assertions.hpp"
#include "core/test/utils/batch_helpers.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Csr : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/batch_dense_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "core/test/utils/array_generator.hpp"
#include "core/test/utils/assertions.hpp"
#include "core/test/utils/batch_helpers.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Dense : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/batch_ell_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "core/test/utils.hpp"
#include "core/test/utils/assertions.hpp"
#include "core/test/utils/batch_helpers.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Ell : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/coo_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include "core/test/utils.hpp"
#include "core/test/utils/unsort_matrix.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Coo : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/csr_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "core/base/array_access.hpp"
#include "core/components/fill_array_kernels.hpp"
#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Csr : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/csr_kernels2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "core/test/utils/assertions.hpp"
#include "core/test/utils/unsort_matrix.hpp"
#include "core/utils/matrix_utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Csr : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/dense_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

#include "core/components/fill_array_kernels.hpp"
#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Dense : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/diagonal_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Diagonal : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/ell_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Ell : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/fbcsr_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "core/test/matrix/fbcsr_sample.hpp"
#include "core/test/utils.hpp"
#include "core/test/utils/fb_matrix_generator.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename T>
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/fft_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


template <typename ValueType>
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/hybrid_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Hybrid : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


#if GINKGO_COMMON_SINGLE_MODE
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/permutation_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Permutation : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/scaled_permutation_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class ScaledPermutation : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/sellp_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


#include "core/test/utils.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


class Sellp : public CommonTestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/matrix/sparsity_csr_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "core/test/utils/assertions.hpp"
#include "core/test/utils/matrix_generator.hpp"
#include "core/test/utils/unsort_matrix.hpp"
#include "test/utils/executor.hpp"
#include "test/utils/common_fixture.hpp"


namespace {
Expand Down
2 changes: 1 addition & 1 deletion test/mpi/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


#include "core/test/utils.hpp"
#include "test/utils/mpi/executor.hpp"
#include "test/utils/mpi/common_fixture.hpp"


#ifndef GKO_COMPILING_DPCPP
Expand Down
2 changes: 1 addition & 1 deletion test/mpi/multigrid/pgm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


#include "core/test/utils.hpp"
#include "test/utils/mpi/executor.hpp"
#include "test/utils/mpi/common_fixture.hpp"


#if GINKGO_DPCPP_SINGLE_MODE
Expand Down
Loading

0 comments on commit c456be3

Please sign in to comment.